Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails tries to load the wrong file #1

Open
cmer opened this issue Jun 28, 2012 · 1 comment
Open

Rails tries to load the wrong file #1

cmer opened this issue Jun 28, 2012 · 1 comment

Comments

@cmer
Copy link

cmer commented Jun 28, 2012

I have a file named uploading.hbs.slim in /assets/templates/items/ (hbs = handlebars). The generated file lives at /assets/items/uploading.js but somehow my HTML tries to load /assets/items/uploading.slim.js (with .slim still in the name). If I manually go to /assets/items/uploading.js, the file is there and is generated properly.

@AlbertGazizov
Copy link

Had the same problem. Check that your slim file doesn't have syntactic errors.

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

No branches or pull requests

2 participants