This project is archived and is in readonly mode.
polymorphic_path seems to be calling incorrect path method
-
fakingfantastic
-1
Pretty sure this may have been cleaned up over the month, but i didn't get the result
rails newapp
rails g scaffold user name:stringin routes.rb s/resources :users/resources :user/
GET /user/new & make a user record
update app/views/users/index.html.erb line #15 Doc for ActionController::Resources::Resource.resources- <td><%= link_to 'Show', user %></td> + <td><%= link_to 'Show', polymorphic_path(user) %></td>GET /user
Note the lack of fail, and the working link.
-
Rizwan Reza
- State changed from new to invalid