I need to use views with querystring for language so it can be cached properly:
code:
this.element.html(
this.view('myview.mustache?lang=en', { myvar : 'value' })
);
but it appends .ejs to the view and obviously fails:
myview.mustache?lang=en.ejs
i figured using "myview.mustache?lang=en&f=.mustache" does the trick, but it is so ugly it makes my eyes bleed.
Is there a way to not append ejs extension without monkeypatching the core?