Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-09-08 16:42:30 +0300
committerDouwe Maan <douwe@gitlab.com>2015-09-08 16:42:30 +0300
commitc258e97747f13cdc60ca2765789213292099c87a (patch)
treede95d9ebc5104eb8723c22301cbcb3fe02d5f887 /app/views/help
parente0da2c352325c1cb2ede88a73434ed7afc037481 (diff)
Make Help accessible for guests.
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/help/show.html.haml b/app/views/help/show.html.haml
index 8551496b98a..0398afb4c1d 100644
--- a/app/views/help/show.html.haml
+++ b/app/views/help/show.html.haml
@@ -1,3 +1,3 @@
- page_title @file.humanize, *@category.split("/").reverse.map(&:humanize)
.documentation.wiki
- = markdown @markdown.gsub('$your_email', current_user.email)
+ = markdown @markdown.gsub('$your_email', current_user.try(:email) || "email@example.com")