Skip to content

Commit

Permalink
Remove unused single_use_error routes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jul 8, 2016
1 parent 821fa71 commit 86fbffd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
19 changes: 0 additions & 19 deletions app/views/errors/single_use_error.html.erb

This file was deleted.

4 changes: 0 additions & 4 deletions config/routes.rb
Expand Up @@ -158,10 +158,6 @@
# Static page routes (workaround)
get ':action' => 'static#:action', constraints: { action: /help|terms|zotero|mendeley|agreement|subject_libraries|versions/ }, as: :static

# Single use link errors
get 'single_use_link/not_found' => 'errors#single_use_error'
get 'single_use_link/expired' => 'errors#single_use_error'

# Catch-all (for routing errors)
unless Rails.env.development? || Rails.env.test?
match '*error' => 'errors#routing', via: [:get, :post]
Expand Down

0 comments on commit 86fbffd

Please sign in to comment.