User app error handling upgrades
This commit is contained in:
@@ -90,3 +90,13 @@ en:
|
||||
closed: 'Closed'
|
||||
lists:
|
||||
show_more: Show more
|
||||
app:
|
||||
error:
|
||||
title: There is a problem with the application
|
||||
body: Please try to restart
|
||||
errors:
|
||||
404:
|
||||
model:
|
||||
message: Cannot find %{model} with id %{id}
|
||||
general:
|
||||
message: Cannot find resource
|
||||
|
||||
@@ -88,3 +88,14 @@ nl:
|
||||
closed: 'Afgesloten'
|
||||
lists:
|
||||
show_more: Meer tonen
|
||||
app:
|
||||
error:
|
||||
title: Er is een probleem met de applicatie
|
||||
body: Herstart de applicatie om het op te lossen
|
||||
|
||||
errors:
|
||||
404:
|
||||
model:
|
||||
message: %{model} met id %{id} kan niet worden gevonden
|
||||
general:
|
||||
message: Data niet beschikbaar
|
||||
|
||||
@@ -19,6 +19,8 @@ Qwaiter::Application.routes.draw do
|
||||
root to: 'users#index'
|
||||
end
|
||||
|
||||
post '/user_app' => 'dashboard#user_app_log' #TODO: separate high speed app at log.mozo.bar
|
||||
|
||||
# SUPPLIER
|
||||
get '/supplier' => 'supplier#home', as: :supplier_root
|
||||
get '/supplier/active_orders' => 'supplier#active_orders', as: :supplier_active_orders
|
||||
|
||||
Reference in New Issue
Block a user