diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-03 20:57:36 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-03 20:57:36 -0500 |
commit | a5f4e1ed470b96c1f97f3827fe07d530c53f0e5c (patch) | |
tree | c4ab7430b9c2f54e9ab3ac10f62f0321af6578de /bin/page.html.erb | |
parent | 5449dca686d7bdbd5f09acd4e9fd8647535acde9 (diff) |
I hate URL handling.
Diffstat (limited to 'bin/page.html.erb')
-rw-r--r-- | bin/page.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/page.html.erb b/bin/page.html.erb index 354b123..49be4e8 100644 --- a/bin/page.html.erb +++ b/bin/page.html.erb @@ -30,7 +30,7 @@ </article> <footer> <%= @page.rights %> - <p>Page source: <a href="<%= File.basename(@page.src) %>"><%= File.basename(@page.src) %></a></p> + <p>Page source: <a href="<%= @url.route_to(@page.srcurl) %>"><%= File.basename(@page.srcurl.to_s) %></a></p> <p>Website source: <a href="https://git.andrewdm.me/www.git">www.git</a></p> </footer> </body> |