I'm having trouble setting the home page as root in my application.
In the file config/routes.rb
I have already made several attempts like:
root :to => 'static_pages#home'
and
root 'static_pages#home'
But none works, I'm working with it like this:
get 'home' => 'static_pages#home'
What is the correct syntax for by as root?