Skip to content

Commit 321b1fc

Browse files
authored
Merge pull request #400 from AdWerx/bug/api-blueprint-route-grouping
Fixes API Blueprint route's always grouping
2 parents 117b82d + 23dd329 commit 321b1fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec_api_documentation/views/api_blueprint_index.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def initialize(index, configuration)
88

99
def sections
1010
super.map do |section|
11-
routes = section[:examples].group_by { |e| "#{e.route_uri}#{e.route_optionals}" }.map do |route, examples|
11+
routes = section[:examples].group_by { |e| "#{e.route_uri}#{e.route_optionals}#{e.route_name}" }.map do |route, examples|
1212
attrs = fields(:attributes, examples)
1313
params = fields(:parameters, examples)
1414

0 commit comments

Comments
 (0)