add testing device images and a lot more, before bootstrap:themed
This commit is contained in:
@@ -5,6 +5,13 @@ Qrammer::Application.configure do
|
||||
# every request. This slows down response time but is perfect for development
|
||||
# since you don't have to restart the web server when you make code changes.
|
||||
config.cache_classes = false
|
||||
silence_warnings do
|
||||
begin
|
||||
require 'pry'
|
||||
IRB = Pry
|
||||
rescue LoadError
|
||||
end
|
||||
end
|
||||
|
||||
# Log error messages when you accidentally call methods on nil.
|
||||
config.whiny_nils = true
|
||||
|
||||
@@ -43,3 +43,6 @@ en:
|
||||
list: Lists
|
||||
product: Products
|
||||
product_category: Product categories
|
||||
supplier:
|
||||
menu:
|
||||
active_lists: Active %{lists}
|
||||
|
||||
+6
-1
@@ -14,7 +14,7 @@ Qrammer::Application.routes.draw do
|
||||
resources :suppliers do
|
||||
member do
|
||||
get :product_list
|
||||
get :active_order_list
|
||||
get :active_orders
|
||||
get :active_lists
|
||||
end
|
||||
end
|
||||
@@ -29,6 +29,11 @@ Qrammer::Application.routes.draw do
|
||||
|
||||
match "/:action", controller: 'dashboard'
|
||||
match '/view_active_list' => 'dashboard#view_active_list', as: :view_active_list
|
||||
match '/phone_home' => 'dashboard#phone_home', as: :phone_root
|
||||
match '/supplier_home' => 'dashboard#supplier_home', as: :supplier_root
|
||||
match '/supplier_home' => 'dashboard#supplier_home', as: :supplier_orders
|
||||
match '/supplier_lists' => 'dashboard#supplier_lists', as: :supplier_lists
|
||||
match '/user_history' => 'dashboard#user_history', as: :user_history
|
||||
|
||||
# The priority is based upon order of creation:
|
||||
# first created -> highest priority.
|
||||
|
||||
Reference in New Issue
Block a user