Merge branch 'mrchrisw/fix-debug-token' into 'master'
Fix step number and token param in URL example. Fix gitlab-rails command code formatting. See merge request !6791
This commit is contained in:
commit
cf47c0417b
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue