diff options
author | Stan Hu <stanhu@gmail.com> | 2018-05-30 02:57:46 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-05-30 03:15:03 -0700 |
commit | 990af4fb5dcc08894578cc7d1dd24176c1cbcef2 (patch) | |
tree | 20fba8c1147ea8c4a4c781daffe5d6773af33372 /lib | |
parent | 5b1416aa74c4fa80e0c324fd2907166af5ca479b (diff) | |
download | gitlab-ce-990af4fb5dcc08894578cc7d1dd24176c1cbcef2.tar.gz |
Replace grape-route-helpers with our own grape-path-helpers
This gem (https://gitlab.com/gitlab-org/grape-path-helpers) makes a number of changes:
1. Brings in @mdelaossa's changes in https://github.com/reprah/grape-route-helpers/pull/21
2. Fixes some broken specs and code for Grape 1.0+
3. Optimizes the generation of paths by bringing in @dblessing's
HashWithIndifferentAccess changes in https://gitlab.com/gitlab-org/gitlab-ce/issues/45718#note_70123793
Closes #45718
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/helpers/related_resources_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/related_resources_helpers.rb b/lib/api/helpers/related_resources_helpers.rb index a2cbed30229..bc7333ca4b3 100644 --- a/lib/api/helpers/related_resources_helpers.rb +++ b/lib/api/helpers/related_resources_helpers.rb @@ -1,7 +1,7 @@ module API module Helpers module RelatedResourcesHelpers - include GrapeRouteHelpers::NamedRouteMatcher + include GrapePathHelpers::NamedRouteMatcher def issues_available?(project, options) available?(:issues, project, options[:current_user]) |