summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-10-12 20:44:43 +0000
committerStan Hu <stanhu@gmail.com>2016-10-12 20:44:43 +0000
commitcf47c0417bb2c6cb8f9017862f237d0968e459dc (patch)
treeef250d8b2e9fc60c27667fdcb70d27f1e24329e7
parent65af1b3d7f19fd217bc5805f370c83a4338f1a01 (diff)
parentdd9e5ba16598eceb61a2d27a4519710b84d01397 (diff)
downloadgitlab-ce-cf47c0417bb2c6cb8f9017862f237d0968e459dc.tar.gz
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
-rw-r--r--doc/administration/troubleshooting/debug.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/administration/troubleshooting/debug.md b/doc/administration/troubleshooting/debug.md
index d127d7b85e5..d8dce4388e1 100644
--- a/doc/administration/troubleshooting/debug.md
+++ b/doc/administration/troubleshooting/debug.md
@@ -144,14 +144,14 @@ separate Rails process to debug the issue:
1. Obtain the private token for your user (Profile Settings -> Account).
1. Bring up the GitLab Rails console. For omnibus users, run:
- ````
+ ```
sudo gitlab-rails console
```
1. At the Rails console, run:
```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: