Redmine-Pdm on Rails 3.2.16

Added by Evgeniy.V Veselov over 8 years ago

I instaled Redmine-Pdm plugin on redmine 2.4 and having troubles in routers.rb file.
https://github.com/kanzie/Redmine-PDM/blob/master/config/routes.rb

ActionController::Routing::Routes.draw do |map|
  map.resources :pdm_documents
  map.resources :pdm_documents, :path_prefix => '/projects/:project_id'
  map.resources :pdm_revisions
  map.resources :pdm_revisions, :path_prefix => '/projects/:project_id'
end

..\redmine> Rails Server

--
An error occurred while loading the routes definition of Redmine-PDM plugin (C:/Web/redmine/plugins/Redmine-PDM/config/routes.rb): uninitialized constant
ActionDispatch::Routing::Routes.
Exiting
--

How i must correct routes.rb file, for Rails 3 ?

thanks for understanding.