redmine_parking_lot_chart icon indicating copy to clipboard operation
redmine_parking_lot_chart copied to clipboard

Route error in Redmine 1.4.x

Open xyz37 opened this issue 12 years ago • 0 comments

ActionController::RoutingError in Projects#settings Showing app/views/layouts/base.html.erb where line #57 raised:

No route matches {:project_id=>#<Project id: 1, name: "테스트 프로젝트", description: "Redmine 테스트 프로젝트입니다.\r\n(Project for Redmine test.)\r\n...", homepage: "", is_public: true, parent_id: nil, created_on: "2010-02-19 02:20:58", updated_on: "2012-02-01 15:11:26", identifier: "test", status: 1, lft: 29, rgt: 30>, :controller=>"parking_lot_chart", :action=>"index"}

Extracted source (around line #57):

54: 55: <% if display_main_menu?(@project) %> 56:

59: <% end %> 60:

above error occured in redmine 1.4.4

I make routes.rb file in config/routes.rb like this, then working well.

ActionController::Routing::Routes.draw do |map| map.connect 'projects/:project_id/parking_lot_chart/:action', :controller => 'parking_lot_chart' end

xyz37 avatar Jul 05 '12 08:07 xyz37