Skip to content

Commit

Permalink
Redirect to closed page if registration closed
Browse files Browse the repository at this point in the history
  • Loading branch information
Julia Jacobs committed Apr 30, 2015
1 parent 87c01f1 commit c924ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/forms_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ def submission_params
end

def check_if_registration_open
redirect_to thanks_path unless Registration.open?
redirect_to closed_path unless Registration.open?
end
end

0 comments on commit c924ccc

Please sign in to comment.