# HG changeset patch # User Chris Cannam # Date 1328194933 0 # Node ID b293eb7e5c946a6b069d149f86b4349f824d2a96 # Parent 83740cd6705e266c8c63bf22b6775bd47e097475 Use revision string instead of changeset object for archive link (works for branch and tag as well as changeset) diff -r 83740cd6705e -r b293eb7e5c94 app/views/repositories/_navigation.rhtml --- a/app/views/repositories/_navigation.rhtml Wed Feb 01 14:34:18 2012 +0000 +++ b/app/views/repositories/_navigation.rhtml Thu Feb 02 15:02:13 2012 +0000 @@ -2,7 +2,7 @@ <%= javascript_include_tag 'repository_navigation' %> <% end %> -<%= link_to_revision_archive(@repository, @changeset, @project, { :text => l(:label_download_revision), :class => 'icon icon-package' }) %> +<%= link_to_revision_archive(@repository, @rev, @project, { :text => l(:label_download_revision), :class => 'icon icon-package' }) %> <% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%>