coffee-rails icon indicating copy to clipboard operation
coffee-rails copied to clipboard

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

Open lennart opened this issue 5 years ago • 1 comments

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 avatar Nov 20 '20 13:11 lennart

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

lennart avatar Nov 20 '20 13:11 lennart