summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chrisjwilson.com>2016-10-11 05:33:55 +0000
committerChris Wilson <chris@chrisjwilson.com>2016-10-11 05:33:55 +0000
commitdd9e5ba16598eceb61a2d27a4519710b84d01397 (patch)
tree17b4d3080a14b082d77f527735804ba2e260cc5d
parent6f441ae1a10a00007fcb361626f826321b511d90 (diff)
downloadgitlab-ce-mrchrisw/fix-debug-token.tar.gz
Fix step number and token param in URL example. Fix gitlab-rails command code formatting. mrchrisw/fix-debug-token
-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: