How can I route the root of a Rails app to a specific controller? -


right have path 'localhost:3000/boards'. example 'boards/new', 'boards/1', etc. how can route root. 'localhost:3000/new', 'localhost:3000/1' , route 'boards'?

thanks!

try resources :board, path: "/" in config/routes.rb


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -