summaryrefslogtreecommitdiff
path: root/app/controllers/help_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/help_controller.rb')
-rw-r--r--app/controllers/help_controller.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb
index 55050615473..406142f29c7 100644
--- a/app/controllers/help_controller.rb
+++ b/app/controllers/help_controller.rb
@@ -51,6 +51,12 @@ class HelpController < ApplicationController
end
def ui
+ # this will work on gitlab.com
+ @some_user = User.find_by(username: 'dzaporozhets')
+ if @some_user.nil?
+ # this will work in dev
+ @some_user = User.find(1)
+ end
end
private