Hi mates,
What I try is using partials without a controller like:
<%= render :partial=>“service/templates/my_template” %>
that works… if the file is
app/view/service/templates/_my_template.rhtml
BUT now I will use the globalize-engine together with my templates like
app/view/service/templates/_my_template.en-GB.rhtml
app/view/service/templates/_my_template.it-IT.rhtml
… and so on…
but it doesn`t work ;-(
Anyone knows why?!?
thanks for your help!
if nobody else comes up with a really good rails-ready solution,
then simply open the file and use
render :inline => …
to render it’s content
Thorsten M. wrote:
if nobody else comes up with a really good rails-ready solution,
then simply open the file and use
render :inline => …
to render it’s content
thanks for your help… So I tried it again… at first I used :template
not :partial… but I have to create a controller like
service/templates_controller.rb … than it works!
so I think without controllers globalize doesn`t work 