diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-20 15:55:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-11-20 15:55:19 +0000 |
commit | 6f4fb8b8920cc8bd414e98671b6025a4378d6c25 (patch) | |
tree | 4548c25ff2e01c12ee41fdbf39b365e49ec71217 /config | |
parent | 30556f8cbfac04d5d6c6e3a9331874b7e83954d6 (diff) | |
download | redmine-6f4fb8b8920cc8bd414e98671b6025a4378d6c25.tar.gz redmine-6f4fb8b8920cc8bd414e98671b6025a4378d6c25.zip |
Resourcified issue categories (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7881 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb index 7106be9d5..8d5735cff 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -157,6 +157,7 @@ ActionController::Routing::Routes.draw do |map| project.resources :news, :shallow => true project.resources :time_entries, :controller => 'timelog', :path_prefix => 'projects/:project_id' project.resources :queries, :only => [:new, :create] + project.resources :issue_categories, :shallow => true project.wiki_start_page 'wiki', :controller => 'wiki', :action => 'show', :conditions => {:method => :get} project.wiki_index 'wiki/index', :controller => 'wiki', :action => 'index', :conditions => {:method => :get} @@ -194,10 +195,6 @@ ActionController::Routing::Routes.draw do |map| activity.connect 'activity.:format', :id => nil end - map.with_options :controller => 'issue_categories' do |categories| - categories.connect 'projects/:project_id/issue_categories/new', :action => 'new' - end - map.with_options :controller => 'repositories' do |repositories| repositories.with_options :conditions => {:method => :get} do |repository_views| repository_views.connect 'projects/:id/repository', :action => 'show' |