Mostly enriching supplier's user info with number of lists finished at the restaurant
This commit is contained in:
@@ -30,8 +30,8 @@ Qwaiter::Application.configure do
|
||||
# Don't care if the mailer can't send
|
||||
config.action_mailer.raise_delivery_errors = false
|
||||
config.action_mailer.delivery_method = :letter_opener
|
||||
config.action_mailer.default_url_options = { host: 'https://www.mozo.local' }
|
||||
config.action_controller.default_url_options = { host: 'https://www.mozo.local' }
|
||||
config.action_mailer.default_url_options = { host: 'https://www.mozo.local', port: 80 }
|
||||
config.action_controller.default_url_options = { host: 'https://www.mozo.local', port: 80 }
|
||||
|
||||
# Print deprecation notices to the Rails logger
|
||||
config.active_support.deprecation = :log
|
||||
|
||||
+1
-1
@@ -130,7 +130,7 @@ Qwaiter::Application.routes.draw do
|
||||
get 'employee_and_supplier', controller: 'application'
|
||||
resources :suppliers do
|
||||
member do
|
||||
get :switch_to
|
||||
post :switch_to
|
||||
post :mark_as_open
|
||||
post :mark_as_closed
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user