First part of stock-integratino. Orders with supplier_id == 0 become stockorders.
This commit is contained in:
parent
251ced4fa1
commit
1912a3fd80
30 changed files with 112 additions and 95 deletions
|
|
@ -4,6 +4,8 @@ ActionController::Routing::Routes.draw do |map|
|
|||
map.my_tasks '/home/tasks', :controller => 'tasks', :action => 'myTasks'
|
||||
|
||||
map.resources :orders, :member => { :finish => :post, :add_comment => :post }
|
||||
map.resources :stock_orders, :member => { :finish => :post, :add_comment => :post },
|
||||
:controller => 'orders'
|
||||
|
||||
map.resources :messages, :only => [:index, :show, :new, :create],
|
||||
:member => { :reply => :get, :user => :get, :group => :get }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue