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.
This allows actionview_precomiler to resolve templates that would have otherwise could be confused with other templates
having,
in template
users/index.html.erb
will resolve to the templateusers/_profile
but if the same render call is in the fileauthors/index.html.erb
it should resolve to the templateauthors/_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.