Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
ericproulx committed Nov 11, 2024
1 parent d8a224c commit f3e08bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grape/api/instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def collect_route_config_per_pattern(all_routes)
last_route.app.options[:options_route_enabled] = true unless self.class.namespace_inheritable(:do_not_route_options) || allowed_methods.include?(Rack::OPTIONS)

@router.associate_routes(last_route.pattern, {
endpoint: last_route.app,
endpoint: last_route.app,
allow_header: allow_header.join(', ').freeze
})
end
Expand Down

0 comments on commit f3e08bf

Please sign in to comment.