<td style="padding-left: <%=18 * depth%>px;" class="filename">
<% if entry.is_dir? %>
<span class="expander" onclick="<%= remote_function :url => {:action => 'browse', :id => @project, :path => to_path_param(entry.path), :rev => @rev, :depth => (depth + 1), :parent_id => tr_id},
+ :method => :get,
:update => { :success => tr_id },
:position => :after,
:success => "scmEntryLoaded('#{tr_id}')",
<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %>
<% if !@entries.nil? && authorize_for('repositories', 'browse') -%>
-<% form_tag(:action => 'browse', :id => @project) do -%>
+<% form_tag({:action => 'browse', :id => @project}, :method => :get) do -%>
| <%= l(:label_revision) %>: <%= text_field_tag 'rev', @rev, :size => 5 %>
<% end -%>
<% end -%>
map.with_options :controller => 'repositories' do |repositories|
repositories.with_options :conditions => {:method => :get} do |repository_views|
- repositories.connect 'projects/:id/repository', :action => 'show'
- repositories.connect 'projects/:id/repository/edit', :action => 'edit'
- repositories.connect 'projects/:id/repository/statistics', :action => 'stats'
- repositories.connect 'projects/:id/repository/revisions', :action => 'revisions'
- repositories.connect 'projects/:id/repository/revisions.:format', :action => 'revisions'
- repositories.connect 'projects/:id/repository/revisions/:rev', :action => 'revision'
- repositories.connect 'projects/:id/repository/revisions/:rev/diff', :action => 'diff'
- repositories.connect 'projects/:id/repository/revisions/:rev/diff.:format', :action => 'diff'
- repositories.connect 'projects/:id/repository/revisions/:rev/:action/*path'
- repositories.connect 'projects/:id/repository/:action/*path'
+ repository_views.connect 'projects/:id/repository', :action => 'show'
+ repository_views.connect 'projects/:id/repository/edit', :action => 'edit'
+ repository_views.connect 'projects/:id/repository/statistics', :action => 'stats'
+ repository_views.connect 'projects/:id/repository/revisions', :action => 'revisions'
+ repository_views.connect 'projects/:id/repository/revisions.:format', :action => 'revisions'
+ repository_views.connect 'projects/:id/repository/revisions/:rev', :action => 'revision'
+ repository_views.connect 'projects/:id/repository/revisions/:rev/diff', :action => 'diff'
+ repository_views.connect 'projects/:id/repository/revisions/:rev/diff.:format', :action => 'diff'
+ repository_views.connect 'projects/:id/repository/revisions/:rev/:action/*path'
+ repository_views.connect 'projects/:id/repository/:action/*path'
end
repositories.connect 'projects/:id/repository/edit', :action => 'edit', :conditions => {:method => :post}