aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorAndrew White <pixeltrix@users.noreply.github.com>2017-05-16 14:23:35 +0100
committerGitHub <noreply@github.com>2017-05-16 14:23:35 +0100
commitff55c6ef80fbcbbeb78c84490361cc291886e584 (patch)
tree41e4f7a742e9ed2be4a2b8e767fdef6277035f48 /guides
parent661f537b15026a35234db8a7b9386b4335198a8a (diff)
parente37283b52eb537bc0a1735968fbcc19a8cc17769 (diff)
downloadrails-ff55c6ef80fbcbbeb78c84490361cc291886e584.tar.gz
rails-ff55c6ef80fbcbbeb78c84490361cc291886e584.tar.bz2
rails-ff55c6ef80fbcbbeb78c84490361cc291886e584.zip
Merge pull request #29056 from juliusdelta/29055-missing-links-in-activesupport-railsguide
Added fixed links to code for Rails Guides ActiveSupport
Diffstat (limited to 'guides')
-rw-r--r--guides/rails_guides/markdown/renderer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/rails_guides/markdown/renderer.rb b/guides/rails_guides/markdown/renderer.rb
index 9d43c10be6..7ac3d417a4 100644
--- a/guides/rails_guides/markdown/renderer.rb
+++ b/guides/rails_guides/markdown/renderer.rb
@@ -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"