diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-09-08 16:42:30 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-09-08 16:42:30 +0300 |
commit | c258e97747f13cdc60ca2765789213292099c87a (patch) | |
tree | de95d9ebc5104eb8723c22301cbcb3fe02d5f887 /app/views/help | |
parent | e0da2c352325c1cb2ede88a73434ed7afc037481 (diff) |
Make Help accessible for guests.
Diffstat (limited to 'app/views/help')
-rw-r--r-- | app/views/help/show.html.haml | 2 |
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") |