Mostly enriching supplier's user info with number of lists finished at the restaurant

This commit is contained in:
2020-03-06 19:27:44 -05:00
parent f1ef618dae
commit eda3fc280b
7 changed files with 66 additions and 8 deletions
+2 -2
View File
@@ -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
View File
@@ -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