redirect com

This commit is contained in:
Pete Matsyburka
2024-11-02 09:40:17 +02:00
parent 68d3efbdba
commit f669045362
4 changed files with 11 additions and 0 deletions
@@ -4,6 +4,8 @@ class SubmissionsPreviewController < ApplicationController
skip_before_action :authenticate_user!
skip_authorization_check
before_action :maybe_redirect_com, only: %i[show completed]
TTL = 40.minutes
def show