Upgrades and simple_form dependency removal

This commit is contained in:
2014-12-11 14:37:09 +01:00
parent 1a3f528731
commit 711f878a3a
16 changed files with 8134 additions and 8348 deletions
+1 -1
View File
@@ -1,3 +1,4 @@
ALLOWED_LOCALES = /nl|be|de|fr|en/
Qwaiter::Application.routes.draw do
devise_for :users, controllers: { omniauth_callbacks: "users/omniauth_callbacks" }
devise_for :suppliers, controllers: { confirmations: 'confirmations', registrations: 'registrations' }
@@ -211,7 +212,6 @@ Qwaiter::Application.routes.draw do
#
#root :to => 'dashboard#home'
root :to => 'pages#home', defaults: {locale: 'nl'}
ALLOWED_LOCALES = /nl|be|de|fr|en/
get '/:locale' => 'pages#home', constraints: {locale: ALLOWED_LOCALES}
devise_scope :supplier do
get '/:locale/suppliers/sign_up' => 'registrations#new', constraints: {locale: ALLOWED_LOCALES}