better signup flow from the homepage
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ Qwaiter::Application.routes.draw do
|
||||
mount Cmtool::Engine => '/cmtool'
|
||||
|
||||
# /nl is not matched to pages#home with locale => nl
|
||||
get '/:locale' => 'pages#home', constraints: {locale: ALLOWED_LOCALES}
|
||||
get '/:locale' => 'pages#home', constraints: {locale: ALLOWED_LOCALES}, as: :go_to_locale
|
||||
#devise_scope :supplier do
|
||||
#get '/:locale/suppliers/sign_up' => 'registrations#new', constraints: {locale: ALLOWED_LOCALES}
|
||||
#end
|
||||
|
||||
Reference in New Issue
Block a user