I feel like an idiot for not being able to figure this out, but here goes.

I use the 'ejs' gem to create ejs template files. My 
assets/javascripts/foo.jst.ejs file is served up as 
localhost:3000/assets/foo and assets/foo.js, but 
localhost:3000/assets/foo.ejs gives a routing error. I have some framework 
code that insists on calling it with the .ejs extension.

Do I configure this in the asset pipeline somewhere or do I use some 
routes.rb trickery to get around this?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/rAG6PiHVGiUJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to