diff --git a/app/controllers/esign_settings_controller.rb b/app/controllers/esign_settings_controller.rb index c1c74843..5e6685ac 100644 --- a/app/controllers/esign_settings_controller.rb +++ b/app/controllers/esign_settings_controller.rb @@ -11,8 +11,6 @@ class EsignSettingsController < ApplicationController end end - prepend_before_action :maybe_redirect_com, only: %i[show] - before_action :load_encrypted_config authorize_resource :encrypted_config, parent: false, only: %i[new create] authorize_resource :encrypted_config, only: %i[update destroy show] diff --git a/app/controllers/start_form_controller.rb b/app/controllers/start_form_controller.rb index ed9c2629..c5adbab3 100644 --- a/app/controllers/start_form_controller.rb +++ b/app/controllers/start_form_controller.rb @@ -7,7 +7,6 @@ class StartFormController < ApplicationController skip_authorization_check around_action :with_browser_locale, only: %i[show update completed] - before_action :maybe_redirect_com, only: %i[show completed] before_action :load_resubmit_submitter, only: :update before_action :load_template before_action :authorize_start!, only: :update diff --git a/app/controllers/submissions_controller.rb b/app/controllers/submissions_controller.rb index 2e1bba67..200c3648 100644 --- a/app/controllers/submissions_controller.rb +++ b/app/controllers/submissions_controller.rb @@ -6,8 +6,6 @@ class SubmissionsController < ApplicationController load_and_authorize_resource :submission, only: %i[show destroy] - prepend_before_action :maybe_redirect_com, only: %i[show] - before_action only: :create do authorize!(:create, Submission) end diff --git a/app/controllers/submissions_preview_controller.rb b/app/controllers/submissions_preview_controller.rb index ed83c407..48da4354 100644 --- a/app/controllers/submissions_preview_controller.rb +++ b/app/controllers/submissions_preview_controller.rb @@ -5,8 +5,6 @@ class SubmissionsPreviewController < ApplicationController skip_before_action :authenticate_user! skip_authorization_check - prepend_before_action :maybe_redirect_com, only: %i[show completed] - TTL = 40.minutes def show