From 0927230a18de0183fac95625071357d748496c9f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 22 Dec 2012 15:57:27 +0000 Subject: [PATCH] Adds route names for r11072. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11073 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 4 ++-- 1 file 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' -- 2.39.5