How we can set routing for a controller book having function index I mean when i start the server it first run the index funxtion of a controller book like
Thanks Mohit
How we can set routing for a controller book having function index I mean when i start the server it first run the index funxtion of a controller book like
Thanks Mohit
in configuration/routes.rb: map.root :controller => 'book'
Delete index.html in the public folder