We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcf467d commit 9e5e405Copy full SHA for 9e5e405
README.md
@@ -31,7 +31,7 @@ matches `/email_processor` - or you would like to rename the matched path - you
31
may add the route to the desired position in routes.rb with the following:
32
33
```ruby
34
-match '/email_processor' => 'griddler/emails#create', via: :post
+post '/email_processor' => 'griddler/emails#create'
35
```
36
37
Defaults
config/routes.rb
@@ -1,3 +1,3 @@
1
Rails.application.routes.draw do
2
- match '/email_processor' => 'griddler/emails#create', via: :post, as: :email_processor
+ post '/email_processor' => 'griddler/emails#create', as: :email_processor
3
end
0 commit comments