Explorar el Código

route: code layout clean up project_enumerations route

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8435 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/1.4.0
Toshi MARUYAMA hace 12 años
padre
commit
96de4a0822
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      config/routes.rb

+ 2
- 1
config/routes.rb Ver fichero

@@ -170,7 +170,8 @@ ActionController::Routing::Routes.draw do |map|
:archive => :post,
:unarchive => :post
} do |project|
project.resource :project_enumerations, :as => 'enumerations', :only => [:update, :destroy]
project.resource :project_enumerations, :as => 'enumerations',
:only => [:update, :destroy]
project.resources :issues, :only => [:index, :new, :create] do |issues|
issues.resources :time_entries, :controller => 'timelog', :collection => {:report => :get}
end

Cargando…
Cancelar
Guardar