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:
authorDennis Tang <750946-dennis@users.noreply.gitlab.com>2019-02-06 12:11:39 +0300
committerFatih Acet <acetfatih@gmail.com>2019-02-06 12:11:39 +0300
commit5c4d0589fa51371fe710b8c7dbf16bfa59b4c5a6 (patch)
tree7ca91bb59922b8c877524cace4cebb086f87efd6 /app/helpers/profiles_helper.rb
parent591380a3f1bf1b5220f176f082af297831a1886e (diff)
Resolve "Empty states for profile page"
Diffstat (limited to 'app/helpers/profiles_helper.rb')
-rw-r--r--app/helpers/profiles_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/profiles_helper.rb b/app/helpers/profiles_helper.rb
index df318de740a..5a42e581867 100644
--- a/app/helpers/profiles_helper.rb
+++ b/app/helpers/profiles_helper.rb
@@ -25,4 +25,8 @@ module ProfilesHelper
end
end
end
+
+ def user_profile?
+ params[:controller] == 'users'
+ end
end