Skip to content

Commit 6457ed4

Browse files
committed
this method should always have a parameter passed to it, so remove the default
1 parent 567aa54 commit 6457ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionpack/lib/action_dispatch/routing/route_set.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def optimize_routes_generation?
641641
!mounted? && default_url_options.empty?
642642
end
643643

644-
def _generate_prefix(options = {})
644+
def _generate_prefix(options)
645645
nil
646646
end
647647

0 commit comments

Comments
 (0)