redmine_git_hosting
redmine_git_hosting copied to clipboard
routes.rb update issue
I updated everything in my system (i guess) and I have this error now:
An error occurred while loading the routes definition of redmine_git_hosting plugin (/home/redmine/redmine-2.3.2-1/apps/redmine/htdocs/plugins
/redmine_git_hosting/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".