Skip to content

Commit

Permalink
Redirect to posts page on login
Browse files Browse the repository at this point in the history
  • Loading branch information
karlstolley committed Apr 9, 2019
1 parent 23dcc7e commit fd305aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/sessions_controller.rb
Expand Up @@ -9,6 +9,7 @@ def create
author.email = omni['info']['email']
end
self.current_user = @author
redirect_to posts_url
end
def login
end
Expand Down

0 comments on commit fd305aa

Please sign in to comment.