Class: Kuroko2ReadOnly::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Kuroko2ReadOnly::ApplicationController
- Includes:
- RequestHandler
- Defined in:
- app/controllers/kuroko2_read_only/application_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#current_user ⇒ Object
10 11 12 |
# File 'app/controllers/kuroko2_read_only/application_controller.rb', line 10 def current_user Kuroko2::User.active.find(session[:user_id]) end |