Please see this code: <%= link_to 'New info', new_info_path %>
I wander what new_info_path means?
Please see this code: <%= link_to 'New info', new_info_path %>
I wander what new_info_path means?
Hello Zhao Yi,
In your project directory run:
rake routes
You'll get a listing of all the routes currently available in your application and how they relate to your controllers.
Rick