actionview_precompiler icon indicating copy to clipboard operation
actionview_precompiler copied to clipboard

Include the filename of the template that called render

Open HParker opened this issue 3 years ago • 0 comments

This allows actionview_precomiler to resolve templates that would have otherwise could be confused with other templates

having,

render 'profile'

in template users/index.html.erb will resolve to the template users/_profile but if the same render call is in the file authors/index.html.erb it should resolve to the template authors/_profile.html.erb

The previous tests where also updated to include the filename, but they are not used. Instead they are given names that seem to "make sense," but don't effect the template that the render call resolves to.

HParker avatar Jun 09 '21 15:06 HParker