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

@ -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]