You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: