remove trailing white-spaces from config/routes.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9548 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-04-27 16:17:31 +00:00
parent 8047a8cd28
commit d2f779d6e8
1 changed files with 5 additions and 5 deletions

View File

@ -23,12 +23,12 @@ RedmineApp::Application.routes.draw do
match 'account/register', :to => 'account#register', :via => [:get, :post]
match 'account/lost_password', :to => 'account#lost_password', :via => [:get, :post]
match 'account/activate', :to => 'account#activate', :via => :get
match '/news/preview', :controller => 'previews', :action => 'news', :as => 'preview_news'
match '/issues/preview/new/:project_id', :to => 'previews#issue', :as => 'preview_new_issue'
match '/issues/preview/edit/:id', :to => 'previews#issue', :as => 'preview_edit_issue'
match '/issues/preview', :to => 'previews#issue', :as => 'preview_issue'
match 'projects/:id/wiki', :to => 'wikis#edit', :via => :post
match 'projects/:id/wiki/destroy', :to => 'wikis#destroy', :via => [:get, :post]
@ -36,7 +36,7 @@ RedmineApp::Application.routes.draw do
get 'boards/:board_id/topics/:id', :to => 'messages#show'
match 'boards/:board_id/topics/quote/:id', :to => 'messages#quote', :via => [:get, :post]
get 'boards/:board_id/topics/:id/edit', :to => 'messages#edit'
post 'boards/:board_id/topics/preview', :to => 'messages#preview'
post 'boards/:board_id/topics/:id/replies', :to => 'messages#reply'
post 'boards/:board_id/topics/:id/edit', :to => 'messages#edit'
@ -181,7 +181,7 @@ RedmineApp::Application.routes.draw do
resources :news, :only => [:index, :show, :edit, :update, :destroy]
match '/news/:id/comments', :to => 'comments#create', :via => :post
match '/news/:id/comments/:comment_id', :to => 'comments#destroy', :via => :delete
resources :versions, :only => [:show, :edit, :update, :destroy] do
post 'status_by', :on => :member
end
@ -202,7 +202,7 @@ RedmineApp::Application.routes.draw do
match '/time_entries/:id', :to => 'timelog#destroy', :via => :delete, :id => /\d+/
# TODO: delete /time_entries for bulk deletion
match '/time_entries/destroy', :to => 'timelog#destroy', :via => :delete
# TODO: port to be part of the resources route(s)
match 'projects/:id/settings/:tab', :to => 'projects#settings', :via => :get