From: Toshi MARUYAMA Date: Fri, 27 Apr 2012 16:17:31 +0000 (+0000) Subject: remove trailing white-spaces from config/routes.rb X-Git-Tag: 2.0.0~129 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d2f779d6e8cd8ffd42f0f2826e84876f2a19f916;p=redmine.git 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 --- diff --git a/config/routes.rb b/config/routes.rb index 6757caa87..09d2f7ea6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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