summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-15 19:14:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-15 19:14:23 +0000
commit471f631dbdaa7f939f1023785708af146324701e (patch)
tree5b61b9a748d2411b4e49cc42c27d8288dbcbae37 /config/routes.rb
parent54d2b07bffdb34cd8e2182ebda111a17df5a5530 (diff)
downloadredmine-471f631dbdaa7f939f1023785708af146324701e.tar.gz
redmine-471f631dbdaa7f939f1023785708af146324701e.zip
Use named routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10003 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 0ee3908b1..87e656475 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -33,7 +33,7 @@ RedmineApp::Application.routes.draw do
match 'projects/:id/wiki/destroy', :to => 'wikis#destroy', :via => [:get, :post]
match 'boards/:board_id/topics/new', :to => 'messages#new', :via => [:get, :post]
- get 'boards/:board_id/topics/:id', :to => 'messages#show'
+ 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'