Class: ThinkFeelDoEngine::KeepAliveController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- ThinkFeelDoEngine::KeepAliveController
- Defined in:
- app/controllers/think_feel_do_engine/keep_alive_controller.rb
Overview
Authenticate user
Constant Summary
Constants inherited from ApplicationController
ApplicationController::CSRF_COOKIE_NAME, ApplicationController::CSRF_HEADER_NAME, ApplicationController::INACTIVE_MESSAGE, ApplicationController::ROOT_URI
Instance Method Summary collapse
-
#index ⇒ Object
GET /arms.
Methods inherited from ApplicationController
#access_denied_resource_path, #after_sign_in_path_for, #after_sign_out_path_for, #raise_not_found!, #render_not_found
Instance Method Details
#index ⇒ Object
GET /arms
10 11 12 13 14 15 16 |
# File 'app/controllers/think_feel_do_engine/keep_alive_controller.rb', line 10 def index if @authenticated render nothing: true, status: :ok else render nothing: true, status: :unauthorized end end |