Class: Marty::DelayedJobController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Marty::DelayedJobController
- Defined in:
- app/controllers/marty/delayed_job_controller.rb
Instance Method Summary collapse
-
#trigger ⇒ Object
FIXME: We probably don’t need this endpoint anymore.
Methods inherited from ApplicationController
#failed_authentication, #find_current_user, #get_conf, #handle_unverified_request, #logout_user, #password_authentication, #reset_signed_cookies, #session_expiration, #session_expired?, #set_signed_cookies, #set_user, #start_user_session, #successful_authentication, #toggle_dark_mode, #try_to_autologin, #user_setup
Instance Method Details
#trigger ⇒ Object
FIXME: We probably don’t need this endpoint anymore. It’s not used by lambda
4 5 6 7 |
# File 'app/controllers/marty/delayed_job_controller.rb', line 4 def trigger work_off_job if delayed_job.present? render json: { status: :ok }, status: :ok end |