# HG changeset patch # User Marcin Kuzminski # Date 2013-06-21 02:10:34 # Node ID 4f2e514a55e98b6bf0d5c994c3e052b0774e4725 # Parent 647308db13ff859415a00aa1c3e41b2bf659552e fixed show as raw link for private gists 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 @@ -60,7 +60,7 @@ ##%if h.HasPermissionAny('hg.admin')() or c.gist.gist_owner == c.rhodecode_user.user_id: ##${h.link_to(_('Edit'),h.url(''),class_="ui-btn")} ##%endif - ${h.link_to(_('Show as raw'),h.url('formatted_gist', gist_id=c.gist.gist_id, format='raw'),class_="ui-btn")} + ${h.link_to(_('Show as raw'),h.url('formatted_gist', gist_id=c.gist.gist_access_id, format='raw'),class_="ui-btn")}