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:
commit
ff55c6ef80
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue