Fix step number and token param in URL example. Fix gitlab-rails command code formatting.

This commit is contained in:
Chris Wilson 2016-10-11 05:33:55 +00:00
parent 6f441ae1a1
commit dd9e5ba165
1 changed files with 2 additions and 2 deletions

View File

@ -144,14 +144,14 @@ separate Rails process to debug the issue:
1. Obtain the private token for your user (Profile Settings -> Account). 1. Obtain the private token for your user (Profile Settings -> Account).
1. Bring up the GitLab Rails console. For omnibus users, run: 1. Bring up the GitLab Rails console. For omnibus users, run:
```` ```
sudo gitlab-rails console sudo gitlab-rails console
``` ```
1. At the Rails console, run: 1. At the Rails console, run:
```ruby ```ruby
[1] pry(main)> app.get '<URL FROM STEP 1>/private_token?<TOKEN FROM STEP 2>' [1] pry(main)> app.get '<URL FROM STEP 2>/?private_token=<TOKEN FROM STEP 3>'
``` ```
For example: For example: