Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Serving .ejs files from rails? #11

Open
beno opened this issue Sep 23, 2012 · 0 comments
Open

Serving .ejs files from rails? #11

beno opened this issue Sep 23, 2012 · 0 comments

Comments

@beno
Copy link

beno commented Sep 23, 2012

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

In rails, 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.

I think this should be an simple config somewhere in the asset pipeline, but I can't find it. I realize it is more of and rails question, but perhaps somebody here recognizes this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant