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
@@ -48,14 +48,19 @@
${c.gist.gist_description}
-
@@ -75,9 +80,9 @@
ΒΆ
${file.path}
- ##
- ## ${h.link_to(_('Show as raw'),h.url(''),class_="ui-btn")}
- ##
+
+ ${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.pygmentize(file,linenos=True,anchorlinenos=True,lineanchors='L',cssclass="code-highlight")}