Skip to content

Commit

Permalink
Redirect old login route
Browse files Browse the repository at this point in the history
  • Loading branch information
elektronaut committed Feb 5, 2024
1 parent 3560b67 commit fc2fade
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
resource :sitemap, only: [:show]

namespace :admin do
get "users/login" => redirect("/admin/login")

# Invites
resources :invites do
member do
Expand All @@ -63,7 +65,6 @@
resources :users do
collection do
get "deactivated"
get "login"
end
member do
delete "delete_image"
Expand Down

0 comments on commit fc2fade

Please sign in to comment.