I have a route defined on my routes. rb
get ':conroller(/:action)' => 'show/show_all#test'
and in my ruby ββfile I have the following link
<td><%= link_to 'Test non resourcefull route:show', :controller="fdsfdsf" :action="fdsfds" %></td>`enter code here`
after following the link I can see mine
test.html.erb
even if the spelling of the controller is incorrect in determining the route. But if I correct the spelling on "Controller", I get the following error:
uninitialized constant ShowAllController.
Please clear this behavior.
source share