More advance signup flow
This commit is contained in:
@@ -34,7 +34,7 @@ en:
|
||||
close_for_orders: Close the shop
|
||||
close_for_orders_confirmation: If you close the shop, you cannot receive orders. Are you sure?
|
||||
open_for_orders: 'Open up the place!'
|
||||
you_are_currently_closed_alert: 'You are currently closed and not able to take orders'
|
||||
you_are_currently_closed_alert: 'You are currently closed so cannot receive orders!'
|
||||
settings: Settings
|
||||
sign_out: Sign out
|
||||
table_number: Table
|
||||
|
||||
+5
-1
@@ -2,7 +2,11 @@ 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' }
|
||||
devise_for :employees, controllers: { confirmations: 'confirmations', registrations: 'registrations' }
|
||||
devise_for :employees, controllers: {
|
||||
#confirmations: 'confirmations',
|
||||
#registrations: 'registrations',
|
||||
sessions: 'suppliers/sessions'
|
||||
}
|
||||
devise_for :administrators
|
||||
namespace :admin do
|
||||
resources :users do
|
||||
|
||||
Reference in New Issue
Block a user