1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #29056 from juliusdelta/29055-missing-links-in-activesupport-railsguide

Added fixed links to code for Rails Guides ActiveSupport
This commit is contained in:
Andrew White 2017-05-16 14:23:35 +01:00 committed by GitHub
commit ff55c6ef80

View file

@ -93,7 +93,7 @@ HTML
def github_file_url(file_path)
tree = version || edge
root = file_path[%r{(.+)/}, 1]
root = file_path[%r{(\w+)/}, 1]
path = \
case root
when "abstract_controller", "action_controller", "action_dispatch"