@@ -76,16 +76,27 ActionController::Routing::Routes.draw do |map| | |||
|
76 | 76 | reports.connect 'projects/:id/issues/report/:detail', :action => 'issue_report_details' |
|
77 | 77 | end |
|
78 | 78 | |
|
79 |
map.connect 'my/account', :controller => 'my', :action => 'account', |
|
|
80 | map.connect 'my/page', :controller => 'my', :action => 'page', :conditions => {:method => :get} | |
|
81 |
map.connect 'my', :controller => 'my', :action => ' |
|
|
82 | map.connect 'my/reset_rss_key', :controller => 'my', :action => 'reset_rss_key', :conditions => {:method => :post} | |
|
83 | map.connect 'my/reset_api_key', :controller => 'my', :action => 'reset_api_key', :conditions => {:method => :post} | |
|
84 |
map.connect 'my |
|
|
85 | map.connect 'my/page_layout', :controller => 'my', :action => 'page_layout', :conditions => {:method => :get} | |
|
86 |
map.connect 'my/ |
|
|
87 | map.connect 'my/remove_block', :controller => 'my', :action => 'remove_block', :conditions => {:method => :post} | |
|
88 |
map.connect 'my/ |
|
|
79 | map.connect 'my/account', :controller => 'my', :action => 'account', | |
|
80 | :conditions => {:method => [:get, :post]} | |
|
81 | map.connect 'my/page', :controller => 'my', :action => 'page', | |
|
82 | :conditions => {:method => :get} | |
|
83 | # Redirects to my/page | |
|
84 | map.connect 'my', :controller => 'my', :action => 'index', | |
|
85 | :conditions => {:method => :get} | |
|
86 | map.connect 'my/reset_rss_key', :controller => 'my', :action => 'reset_rss_key', | |
|
87 | :conditions => {:method => :post} | |
|
88 | map.connect 'my/reset_api_key', :controller => 'my', :action => 'reset_api_key', | |
|
89 | :conditions => {:method => :post} | |
|
90 | map.connect 'my/password', :controller => 'my', :action => 'password', | |
|
91 | :conditions => {:method => [:get, :post]} | |
|
92 | map.connect 'my/page_layout', :controller => 'my', :action => 'page_layout', | |
|
93 | :conditions => {:method => :get} | |
|
94 | map.connect 'my/add_block', :controller => 'my', :action => 'add_block', | |
|
95 | :conditions => {:method => :post} | |
|
96 | map.connect 'my/remove_block', :controller => 'my', :action => 'remove_block', | |
|
97 | :conditions => {:method => :post} | |
|
98 | map.connect 'my/order_blocks', :controller => 'my', :action => 'order_blocks', | |
|
99 | :conditions => {:method => :post} | |
|
89 | 100 | |
|
90 | 101 | map.resources :issues, :collection => {:bulk_edit => :get, :bulk_update => :post} do |issues| |
|
91 | 102 | issues.resources :time_entries, :controller => 'timelog', :collection => {:report => :get} |
General Comments 0
You need to be logged in to leave comments.
Login now