User specs in the green

This commit is contained in:
2015-09-21 15:22:43 +02:00
parent cb744943bd
commit 2c3705790c
27 changed files with 112 additions and 30 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ if defined?(Ember::Emblem::Template)
namespaces = %w[supplier waiter user]
template_roots = namespaces.map{|namespace| namespace + '/app/templates'}
Ember::Emblem::Template.configure do |config|
config.templates_root = ['app/templates']
#config.templates_root = ['app/templates']
config.templates_root = template_roots
# You can overwrite other config
+2
View File
@@ -194,6 +194,8 @@ en:
modal:
info:
close: OK
change_list_table:
title: Change the ${models.table} of the ${models.list}
supplier_status_info:
title: "%{name} info"
header: The icons at the top right corner contain information about the current orders
+2
View File
@@ -197,6 +197,8 @@ nl:
modal:
info:
close: OK
change_list_table:
title: Verander de ${models.table} van de ${models.list}
supplier_status_info:
title: "%{name} info"
header: The icons at the top right corner contain information about the current orders
+2
View File
@@ -32,6 +32,7 @@ Qwaiter::Application.routes.draw do
resources :product_categories
root to: 'users#index'
end
get 'empty-page' => 'dashboard#empty_page', as: :empty_page
post '/user_app' => 'dashboard#user_app_log' #TODO: separate high speed app at log.mozo.bar
@@ -169,6 +170,7 @@ Qwaiter::Application.routes.draw do
post :mark_helped
post :close
post :remove_needs_payment
post :change_table
end
end
resources :product_categories do