# HG changeset patch # User Marcin Kuzminski # Date 2013-06-21 02:13:39 # Node ID d15b3db4a3b4bc9f5e0e4f8666f83256198d7a42 # Parent 4f2e514a55e98b6bf0d5c994c3e052b0774e4725 fixed show as raw link for private gists and separate files diff --git a/rhodecode/templates/admin/gists/show.html b/rhodecode/templates/admin/gists/show.html --- a/rhodecode/templates/admin/gists/show.html +++ b/rhodecode/templates/admin/gists/show.html @@ -81,7 +81,7 @@ ΒΆ ${file.path}
- ${h.link_to(_('Show as raw'),h.url('formatted_gist_file', gist_id=c.gist.gist_id, format='raw', revision=file.changeset.raw_id, f_path=file.path),class_="ui-btn")} + ${h.link_to(_('Show as raw'),h.url('formatted_gist_file', gist_id=c.gist.gist_access_id, format='raw', revision=file.changeset.raw_id, f_path=file.path),class_="ui-btn")}