Class: GithubAuthController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- GithubAuthController
- Defined in:
- app/controllers/github_auth_controller.rb
Instance Method Summary collapse
Instance Method Details
#callback ⇒ Object
2 3 4 5 |
# File 'app/controllers/github_auth_controller.rb', line 2 def callback authenticate! redirect_to session['return_to'] || root_url end |
#failed ⇒ Object
7 8 9 10 |
# File 'app/controllers/github_auth_controller.rb', line 7 def failed render :inline => "<center><%= image_tag 'rails-auth-github/securocat.png' %></center>" end |