Skip to content

Commit bb3d2ae

Browse files
committed
Update comments
1 parent 8cdb32f commit bb3d2ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/route_translator/core_ext/mapper_patch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def add_route(action, controller, options, _path, to, via, formatted, anchor, op
3030

3131
def localized_add_route(action, controller, options, _path, to, via, formatted, anchor, options_constraints)
3232
# From Rails source
33-
# See: https://github.com/rails/rails/blob/master/actionpack/lib/action_dispatch/routing/mapper.rb#L1962
33+
# See: https://github.com/rails/rails/blob/v8.0.3/actionpack/lib/action_dispatch/routing/mapper.rb#L2038
3434
path = path_for_action(action, _path)
3535
raise ArgumentError, "path is required" if path.blank?
3636

lib/route_translator/core_ext/mapper_patch81.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def add_route(action, controller, as, options_action, _path, to, via, formatted,
3030

3131
def localized_add_route(action, controller, as, options_action, _path, to, via, formatted, anchor, options_constraints, internal, options_mapping)
3232
# From Rails source
33-
# See: https://github.com/rails/rails/blob/main/actionpack/lib/action_dispatch/routing/mapper.rb#L2195
33+
# See: https://github.com/rails/rails/blob/v8.1.0.rc1/actionpack/lib/action_dispatch/routing/mapper.rb#L2193
3434
path = path_for_action(action, _path)
3535
raise ArgumentError, "path is required" if path.blank?
3636

0 commit comments

Comments
 (0)