Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Handle authenticated / unauthenticated root_path with devise
authenticated :user do
root to: "agendas#show"
end
unauthenticated :user do
devise_scope :user do
root to: "devise/sessions#new"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.