Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Matthew Mongeau's Profile

GitHub User: halogenandtoast


Comments by Matthew Mongeau


You can simplify the routes you added to this:

get 'signup' => 'users#new'
get 'login' => 'sessions#new'
get 'logout' => 'sessions#destroy'

It's shorter and cleaner. The as: option is completely unnecessary since rails will add the path helpers without it.