Skip to content

failing test case with .html.erb preferred instead of .coffee #121

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lennart
Copy link

@lennart lennart commented Nov 20, 2020

This PR shows coffee-rails views not being picked for JS routes when a .html.erb template exists for the same action.

In the comments of the dummy controller are the currently necessary steps (I haven't found explicit documentation about needing to do this!) to make the .coffee file (or .js.coffee) being picked up and served when accessing /site/index.js.

NOTE: the current full test suite fails (even without these changes) since sprockets 4.0 will be installed and it requires a set up manifest.js for the asset pipeline...

@lennart
Copy link
Author

lennart commented Nov 20, 2020

since this is no solution for the problem, I would ask how and where this problem should be fixed

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

Successfully merging this pull request may close these issues.

1 participant