diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-04 20:06:29 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-04 20:06:29 -0500 |
commit | 51b8b8711b51ac48fe5aea9f6282e9b75b83e65b (patch) | |
tree | 1c5683a9d48337960b5f92b9c643ad211f006ff6 /lib/api/entities.rb | |
parent | 824fecb728ae7534b8ef56aaa6679814f3924cd5 (diff) | |
parent | 67136007933425414293602bc75d2ba4822f2a93 (diff) | |
download | gitlab-ce-51b8b8711b51ac48fe5aea9f6282e9b75b83e65b.tar.gz |
Merge branch 'master' into issue_14800
# Conflicts:
# app/assets/stylesheets/framework/variables.scss
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index f686c568bee..340fc5452ab 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -8,7 +8,7 @@ module API expose :id, :state, :avatar_url expose :web_url do |user, options| - Gitlab::Application.routes.url_helpers.user_url(user) + Gitlab::Routing.url_helpers.user_url(user) end end @@ -89,7 +89,7 @@ module API expose :avatar_url expose :web_url do |group, options| - Gitlab::Application.routes.url_helpers.group_url(group) + Gitlab::Routing.url_helpers.group_url(group) end end @@ -334,7 +334,6 @@ module API expose :updated_at expose :home_page_url expose :default_branch_protection - expose :twitter_sharing_enabled expose :restricted_visibility_levels expose :max_attachment_size expose :session_expire_delay |