Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error at installing #11

Open
Peneheals opened this issue Dec 7, 2015 · 0 comments
Open

Error at installing #11

Peneheals opened this issue Dec 7, 2015 · 0 comments

Comments

@Peneheals
Copy link

After bundle exec rake redmine:plugins NAME=redmine_mention_plugin RAILS_ENV=production I get an error message:

An error occurred while loading the routes definition of redmine_mention_plugin plugin (/plugins/redmine_mention_plugin/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".

With the above mentioned modification, I manage to have a working plugin.

Environment:
Redmine version 3.0.7.stable
Ruby version 1.9.3-p551 (2014-11-13) [x86_64-linux]
Rails version 4.2.3
Environment production
Database adapter Mysql2
SCM:
Git 2.1.4
Filesystem
Redmine plugins:
progressive_projects_list 2.0.1
redmine_checklists 3.1.3
redmine_lightbox2 0.2.4
redmine_slack 0.1
time_logger 0.5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant