Weird route malfunction, mix between devise and own controller
问题 I've got a real weird route behavior. I spotted the line which, i think, cause the error. Here is the line (in application.html.erb) in question : <%= link_to "Official Top", :controller => "tops", :action => "show", :id => 10 %> The problem happens when i want to sign in with devise, when i go to this link : http://localhost:3000/users/sign_in using <%= link_to "sign in", new_user_session_path %> Without the line everything is fine, but when the line is present i've got this error : No route