Module: WebHooks::HookLogActions
- Extended by:
- ActiveSupport::Concern
- Includes:
- HookExecutionNotice
- Included in:
- Admin::HookLogsController, Projects::HookLogsController
- Defined in:
- app/controllers/concerns/web_hooks/hook_log_actions.rb
Instance Method Summary collapse
Instance Method Details
#retry ⇒ Object
22 23 24 25 26 27 28 29 30 |
# File 'app/controllers/concerns/web_hooks/hook_log_actions.rb', line 22 def retry result = execute_hook if result.success? redirect_to after_retry_redirect_path else flash[:warning] = result. redirect_back(fallback_location: after_retry_redirect_path) end end |
#show ⇒ Object
18 19 20 |
# File 'app/controllers/concerns/web_hooks/hook_log_actions.rb', line 18 def show hide_search_settings end |