Skip to content

Commit

Permalink
Redirects /educator_resources to /primary_source_sets (#2502)
Browse files Browse the repository at this point in the history
... even though the former is a better link name, imo. #shrug.
  • Loading branch information
afred authored Dec 3, 2022
1 parent 984ffbc commit d6c6ffa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
get '/primary-source-sets', to: 'primary_source_sets#index'
get '/primary_source_sets/*path', to: 'primary_source_sets#show', constraints: override_constraints
get '/primary-source-sets/*path', to: 'primary_source_sets#show', constraints: override_constraints
# Redirect for old links that were physically printed on fliers for conferences.
get '/educator_resources', to: redirect('/primary_source_sets', status: 301)

# old link support, must come before /special_collections
get '/special_collections/eotp-i-interviews', to: redirect('/special_collections/eotp-interviews', status: 301)
Expand Down

0 comments on commit d6c6ffa

Please sign in to comment.