mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Do not refer guides in edgeguides [ci skip]
This commit is contained in:
parent
da054a48c4
commit
7f6d2914c6
1 changed files with 1 additions and 1 deletions
|
@ -1112,7 +1112,7 @@ end
|
||||||
|
|
||||||
Now you can try running all the tests and they should pass.
|
Now you can try running all the tests and they should pass.
|
||||||
|
|
||||||
NOTE: If you followed the steps in the [Basic Authentication](https://guides.rubyonrails.org/getting_started.html#basic-authentication) section, you'll need to add authorization to every request header to get all the tests passing:
|
NOTE: If you followed the steps in the [Basic Authentication](getting_started.html#basic-authentication) section, you'll need to add authorization to every request header to get all the tests passing:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
post articles_url, params: { article: { body: 'Rails is awesome!', title: 'Hello Rails' } }, headers: { Authorization: ActionController::HttpAuthentication::Basic.encode_credentials('dhh', 'secret') }
|
post articles_url, params: { article: { body: 'Rails is awesome!', title: 'Hello Rails' } }, headers: { Authorization: ActionController::HttpAuthentication::Basic.encode_credentials('dhh', 'secret') }
|
||||||
|
|
Loading…
Reference in a new issue