Many supplier features and style upgrades and fixes
This commit is contained in:
+1
-4
@@ -57,7 +57,6 @@ Qwaiter::Application.routes.draw do
|
||||
#get '/user/index' => 'user#index', as: :user_root
|
||||
#get '/user/index.html#' => 'user#index', as: :user_root
|
||||
#get '/user/active_list(.:format)' => 'user#active_list', as: :user_active_list
|
||||
#get '/user/list_info' => 'user#list_info', as: :user_list_info, via: [:get, :options]
|
||||
#post '/user/needs_help' => 'user#needs_help', as: :user_needs_help
|
||||
#post '/user/list_needs_payment' => 'user#list_needs_payment', as: :user_list_needs_payment
|
||||
#post '/user/create_list' => 'user#create_list', as: :user_create_list
|
||||
@@ -73,8 +72,6 @@ Qwaiter::Application.routes.draw do
|
||||
#post '/user/reject_join_request' => 'user#reject_join_request'
|
||||
#post '/user/approve_join_request' => 'user#approve_join_request'
|
||||
|
||||
|
||||
#post '/user/check_table_join_status' => 'user#check_table_join_status'
|
||||
get '/user/obtain_token' => 'user#obtain_token', as: :user_obtain_token
|
||||
#post '/user/obtain_token' => 'user#obtain_token', constraints: {format: :json}
|
||||
get '/close_window' => 'dashboard#close_window'
|
||||
@@ -208,7 +205,7 @@ Qwaiter::Application.routes.draw do
|
||||
#devise_scope :supplier do
|
||||
#get '/:locale/suppliers/sign_up' => 'registrations#new', constraints: {locale: ALLOWED_LOCALES}
|
||||
#end
|
||||
scope '(/:locale)', constraints: {locale: ALLOWED_LOCALES}, defaults: { locale: Rails.application.config.i18n.default_locale } do
|
||||
scope '(/:locale)', constraints: {locale: ALLOWED_LOCALES}, defaults: { locale: Rails.application.config.i18n.default_locale.to_s } do
|
||||
root to: 'pages#home'
|
||||
resources :contact_forms, only: [:create]
|
||||
resources :new_suppliers
|
||||
|
||||
Reference in New Issue
Block a user