@@ -23,12 +23,12 RedmineApp::Application.routes.draw do | |||
|
23 | 23 | match 'account/register', :to => 'account#register', :via => [:get, :post] |
|
24 | 24 | match 'account/lost_password', :to => 'account#lost_password', :via => [:get, :post] |
|
25 | 25 | match 'account/activate', :to => 'account#activate', :via => :get |
|
26 | ||
|
26 | ||
|
27 | 27 | match '/news/preview', :controller => 'previews', :action => 'news', :as => 'preview_news' |
|
28 | 28 | match '/issues/preview/new/:project_id', :to => 'previews#issue', :as => 'preview_new_issue' |
|
29 | 29 | match '/issues/preview/edit/:id', :to => 'previews#issue', :as => 'preview_edit_issue' |
|
30 | 30 | match '/issues/preview', :to => 'previews#issue', :as => 'preview_issue' |
|
31 | ||
|
31 | ||
|
32 | 32 | match 'projects/:id/wiki', :to => 'wikis#edit', :via => :post |
|
33 | 33 | match 'projects/:id/wiki/destroy', :to => 'wikis#destroy', :via => [:get, :post] |
|
34 | 34 | |
@@ -36,7 +36,7 RedmineApp::Application.routes.draw do | |||
|
36 | 36 | get 'boards/:board_id/topics/:id', :to => 'messages#show' |
|
37 | 37 | match 'boards/:board_id/topics/quote/:id', :to => 'messages#quote', :via => [:get, :post] |
|
38 | 38 | get 'boards/:board_id/topics/:id/edit', :to => 'messages#edit' |
|
39 | ||
|
39 | ||
|
40 | 40 | post 'boards/:board_id/topics/preview', :to => 'messages#preview' |
|
41 | 41 | post 'boards/:board_id/topics/:id/replies', :to => 'messages#reply' |
|
42 | 42 | post 'boards/:board_id/topics/:id/edit', :to => 'messages#edit' |
@@ -181,7 +181,7 RedmineApp::Application.routes.draw do | |||
|
181 | 181 | resources :news, :only => [:index, :show, :edit, :update, :destroy] |
|
182 | 182 | match '/news/:id/comments', :to => 'comments#create', :via => :post |
|
183 | 183 | match '/news/:id/comments/:comment_id', :to => 'comments#destroy', :via => :delete |
|
184 | ||
|
184 | ||
|
185 | 185 | resources :versions, :only => [:show, :edit, :update, :destroy] do |
|
186 | 186 | post 'status_by', :on => :member |
|
187 | 187 | end |
@@ -202,7 +202,7 RedmineApp::Application.routes.draw do | |||
|
202 | 202 | match '/time_entries/:id', :to => 'timelog#destroy', :via => :delete, :id => /\d+/ |
|
203 | 203 | # TODO: delete /time_entries for bulk deletion |
|
204 | 204 | match '/time_entries/destroy', :to => 'timelog#destroy', :via => :delete |
|
205 | ||
|
205 | ||
|
206 | 206 | # TODO: port to be part of the resources route(s) |
|
207 | 207 | match 'projects/:id/settings/:tab', :to => 'projects#settings', :via => :get |
|
208 | 208 |
General Comments 0
You need to be logged in to leave comments.
Login now