Refactoring of order comments.

This commit is contained in:
benni 2011-06-19 20:47:27 +02:00
parent 38b5dcba1f
commit 88b268cb0b
14 changed files with 57 additions and 47 deletions

View file

@ -164,6 +164,8 @@ de:
delivery: Lieferung
stock_taking: Inventur
financial_transaction: Kontotransaktion
order: Bestellung
order_comment: Kommentar
attributes:
article:
price: Nettopreis
@ -283,6 +285,8 @@ de:
user:
nick: "Benutzername"
last_name: "Nachname"
order_comment:
text: 'Kommentar'
hints:
tax: 'In Prozent, Standard sind 7,0'

View file

@ -1,5 +1,9 @@
Foodsoft::Application.routes.draw do
get "order_comments/new"
get "comments/new"
get "sessions/new"
root :to => redirect("/#{Foodsoft.env}")
@ -44,6 +48,8 @@ Foodsoft::Application.routes.draw do
end
match '/ordering' => 'ordering#index', :as => 'ordering'
resources :order_comments, :only => [:new, :create]
############ Foodcoop orga
resources :invites, :only => [:new, :create]