A question about link_to tag

Please see this code: <%= link_to ‘New info’, new_info_path %>

I wander what new_info_path means?

Read http://frozenplague.net/2008/01/restful-routing-an-overview/ for
a brief overview, and http://guides.rails.info/routing_outside_in.html
for a longer overview

Ryan B.

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.