mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-12 23:27:48 +00:00
Remove impossible route
Hash fragments are not part of the http request and not sent to the server. So the routes will never see a hash fragment which means that this route is never used.
This commit is contained in:
@@ -8,7 +8,6 @@ Openfoodnetwork::Application.routes.draw do
|
||||
get "/t/products/:id", to: redirect("/")
|
||||
get "/about_us", to: redirect(ContentConfig.footer_about_url)
|
||||
|
||||
get "/#/login", to: "home#index", as: :spree_login
|
||||
get "/login", to: redirect("/#/login")
|
||||
|
||||
get "/discourse/login", to: "discourse_sso#login"
|
||||
|
||||
Reference in New Issue
Block a user