change readme instructions to use `get` in routes

Rails 4 deprecates `match` in routes, and this redirect will always be a `get`, so I think it would be helpful to start promoting this method.
This commit is contained in:
Hank Stoever 2013-04-16 11:25:18 -07:00
parent fe14887737
commit 037adc974d
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ steps are necessary for your application. For example, in a Rails app I
would add a line in my `routes.rb` file like this:
```ruby
match '/auth/:provider/callback', to: 'sessions#create'
get '/auth/:provider/callback', to: 'sessions#create'
```
And I might then have a `SessionsController` with code that looks