> On Feb 27, 2016, at 12:55 PM, Charles Hoff <[email protected]> wrote:
> 
> Hi, Im really new to rails and I am getting the error in the subject. I
> have followed the steps in a tutorial and I still get this error, not
> really sure why.
> 
> My routes file is:
> 
> Rails.application.routes.draw do
>  resources :towcompanies
>  root 'towcompanies#index'

make this read:

root to: 'tow companies#index'

and then it will work.

Walter

> end
> 
> Any input would be appreciated.
> 
> 
> Thanks !
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/2cf3a2eac3bc92a09bb0a91bf399583c%40ruby-forum.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/48E6C558-9EF8-47BC-93FE-6C22FFCEE445%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to