Closed aussiDavid closed 8 years ago
What version of rails and gem are you using?
On 18-Jul-2016, at 11:28 PM, aussiDavid notifications@github.com wrote:
it causes the following error otherwise.
ArgumentError (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, addvia: [:get, :post]
option. If you want to expose your action to GET, useget
in the router: Instead of: match "controller#action" Do: get "controller#action"): config/routes.rb:132:inblock in <top (required)>' config/routes.rb:3:in
<top (required)>' You can view, comment on, or merge this pull request online at:https://github.com/girishso/rails-client-logger/pull/7
Commit Summary
When using match in routes.rb you need to specify a the method. File Changes
M README.md (2) Patch Links:
https://github.com/girishso/rails-client-logger/pull/7.patch https://github.com/girishso/rails-client-logger/pull/7.diff — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Ruby '2.2.3' Rails '4.2.5' rails-client-logger '1.1.0'
it causes the following error otherwise.