We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 732bcec commit 6975caaCopy full SHA for 6975caa
app/controllers/state_file/archived_intakes/pdfs_controller.rb
@@ -10,6 +10,7 @@ def index
10
# @prior_year_intake = StateFileArchivedIntake.last
11
@prior_year_intake = StateFileArchivedIntake.find_by!(email_address: current_request.email_address)
12
@pdf_url = @prior_year_intake.submission_pdf.url(expires_in: 30.minutes, disposition: "inline")
13
+ create_state_file_access_log("issued_pdf_download_link")
14
end
15
16
private
@@ -20,8 +21,10 @@ def require_archived_intake_email
20
21
redirect_to root_path
22
23
- # TODO - implement when ssn code is merged
24
def require_archived_intake_verified
25
+ return if session[:ssn_verified].present?
26
+
27
+ redirect_to root_path
28
29
30
0 commit comments