Patch #2363
Sidebar Redmine 3.0.0
Start date:
12 Mar 2015
Due date:
% Done:
0%
Redmine version:
External issue:
Description
When migrating to Redmine 3.0.0-stable (GIT), the rake db:migrate RAILS_ENV=production
command was throwing following error:
An error occurred while loading the routes definition of sidebar plugin (/opt/redmine/redmine/plugins/sidebar/config/routes.rb): You should not use the `match` method in your router without specifying an HTTP method. If you want to expose your action to both GET and POST, add `via: [:get, :post]` option. If you want to expose your action to GET, use `get` in the router: Instead of: match "controller#action" Do: get "controller#action".
Subsituting the “match” strings with “get”, as suggested by the error message, seems to solve the issue. Patch attached.
Associated revisions
Support Redmine 3.x (#2363)
History
#1 Updated by Andriy Lesyuk about 8 years ago
- Status changed from New to Under Verification
- Target version set to 0.2.0