diff options
author | karen Carias <karen@gitlab.com> | 2015-09-30 13:33:51 -0700 |
---|---|---|
committer | karen Carias <karen@gitlab.com> | 2015-09-30 13:33:51 -0700 |
commit | 126dd008e110dce5dfe7d1d076bc57f33250ee7b (patch) | |
tree | 4ce96f2fd7e50faff65df7b556153c08d16a888c /lib/api/entities.rb | |
parent | 6a1d695f861e4c5251a2333c673f78705b34891f (diff) | |
parent | 54452412f765d9e6e6166e105db9adbc7553aec2 (diff) | |
download | gitlab-ce-126dd008e110dce5dfe7d1d076bc57f33250ee7b.tar.gz |
solved conflict
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 8dddcd7ccc3..9620d36ac41 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| - Rails.application.routes.url_helpers.user_url(user) + Gitlab::Application.routes.url_helpers.user_url(user) end end @@ -45,7 +45,7 @@ module API class ProjectHook < Hook expose :project_id, :push_events - expose :issues_events, :merge_requests_events, :tag_push_events + expose :issues_events, :merge_requests_events, :tag_push_events, :note_events, :enable_ssl_verification end class ForkedFromProject < Grape::Entity @@ -81,7 +81,7 @@ module API expose :avatar_url expose :web_url do |group, options| - Rails.application.routes.url_helpers.group_url(group) + Gitlab::Application.routes.url_helpers.group_url(group) end end |