Skip to content

Commit

Permalink
Disable rubocop for #1537
Browse files Browse the repository at this point in the history
  • Loading branch information
namusyaka committed Dec 30, 2016
1 parent 6a24f65 commit 0352c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grape/middleware/versioner/path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def default_options
def before
path = env[Grape::Http::Headers::PATH_INFO].dup

if prefix && path.index(prefix) == 0
if prefix && path.index(prefix) == 0 # rubocop:disable all
path.sub!(prefix, '')
path = Grape::Router.normalize_path(path)
end
Expand Down

0 comments on commit 0352c44

Please sign in to comment.