better signup flow from the homepage

This commit is contained in:
2015-03-05 12:52:27 +01:00
parent d061814989
commit e9b6cd627a
4 changed files with 42 additions and 24 deletions
+1 -1
View File
@@ -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