Class: Character::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Character::ApplicationController
- Includes:
- AuthConcern, InstanceConcern
- Defined in:
- app/controllers/character/application_controller.rb
Overview
Author: Alexander Kravets
Slate, 2013
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
12 13 14 |
# File 'app/controllers/character/application_controller.rb', line 12 def index render 'character/character' end |
#login ⇒ Object
16 17 18 |
# File 'app/controllers/character/application_controller.rb', line 16 def login respond_to_browserid end |
#logout ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'app/controllers/character/application_controller.rb', line 20 def logout logout_browserid if params['redirect'] redirect_to params['redirect'] else head :ok end end |