changeset 1129:77f703281e14 redmine-2.2-integration

Changed projects#explore to ensure compatibility with Rails 3.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 09 Jan 2013 11:45:25 +0000
parents cd2db8872493
children f589996baa51
files config/routes.rb
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config/routes.rb	Wed Jan 09 11:25:55 2013 +0000
+++ b/config/routes.rb	Wed Jan 09 11:45:25 2013 +0000
@@ -179,7 +179,8 @@
   end
   match '/issues', :controller => 'issues', :action => 'destroy', :via => :delete
 
-  map.connect 'explore', :controller => 'projects', :action => 'explore'
+  # changed this route to ensure compatibility with Rails 3 --lf.20130109
+  match 'explore' => 'projects#explore'
 
   resources :queries, :except => [:show]