diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-22 15:57:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-22 15:57:27 +0000 |
commit | 0927230a18de0183fac95625071357d748496c9f (patch) | |
tree | 489a2003033c1d9fd494784e0899866bf7d5bdca /config | |
parent | 8eea999ca676063d94be5c8fc858d92f94af1fa0 (diff) | |
download | redmine-0927230a18de0183fac95625071357d748496c9f.tar.gz redmine-0927230a18de0183fac95625071357d748496c9f.zip |
Adds route names for r11072.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11073 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 47bc01377..ad1465f20 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -32,12 +32,12 @@ RedmineApp::Application.routes.draw do match 'projects/:id/wiki', :to => 'wikis#edit', :via => :post match 'projects/:id/wiki/destroy', :to => 'wikis#destroy', :via => [:get, :post] - match 'boards/:board_id/topics/new', :to => 'messages#new', :via => [:get, :post] + match 'boards/:board_id/topics/new', :to => 'messages#new', :via => [:get, :post], :as => 'new_board_message' get 'boards/:board_id/topics/:id', :to => 'messages#show', :as => 'board_message' 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/preview', :to => 'messages#preview', :as => 'preview_board_message' post 'boards/:board_id/topics/:id/replies', :to => 'messages#reply' post 'boards/:board_id/topics/:id/edit', :to => 'messages#edit' post 'boards/:board_id/topics/:id/destroy', :to => 'messages#destroy' |