Skip to content

Commit

Permalink
Merge pull request #1377 from DFE-Digital/redirect-home-page-to-git
Browse files Browse the repository at this point in the history
Add redirect from the home page to GiT
  • Loading branch information
plisovin authored Aug 29, 2023
2 parents f57228d + 97bb246 commit 2e8c135
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
--require spec_helper
--exclude-pattern "./spec/**/*_spec.rb"
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
end
end

root "pages#home"
get "/", to: redirect(host: "getintoteaching.education.gov.uk", path: "/teacher-training-adviser/sign_up/identity?utm_source=adviser-getintoteaching.education.gov.uk&utm_medium=referral&utm_campaign=adviser_redirect")

get "/teacher_training_adviser/not_available", to: "teacher_training_adviser/steps#not_available"

Expand Down

0 comments on commit 2e8c135

Please sign in to comment.