Fixes user's activity link (#2853).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2532 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4d892fd6d0
commit
9fe6bcac74
|
@ -34,7 +34,7 @@
|
|||
<div class="splitcontentright">
|
||||
|
||||
<% unless @events_by_day.empty? %>
|
||||
<h3><%= link_to l(:label_activity), :controller => 'projects', :action => 'activity', :user_id => @user, :from => @events_by_day.keys.first %></h3>
|
||||
<h3><%= link_to l(:label_activity), :controller => 'projects', :action => 'activity', :id => nil, :user_id => @user, :from => @events_by_day.keys.first %></h3>
|
||||
|
||||
<p>
|
||||
<%=l(:label_reported_issues)%>: <%= Issue.count(:conditions => ["author_id=?", @user.id]) %>
|
||||
|
|
|
@ -193,8 +193,8 @@ ActionController::Routing::Routes.draw do |map|
|
|||
projects.with_options :action => 'activity', :conditions => {:method => :get} do |activity|
|
||||
activity.connect 'projects/:id/activity'
|
||||
activity.connect 'projects/:id/activity.:format'
|
||||
activity.connect 'activity'
|
||||
activity.connect 'activity.:format'
|
||||
activity.connect 'activity', :id => nil
|
||||
activity.connect 'activity.:format', :id => nil
|
||||
end
|
||||
|
||||
projects.with_options :conditions => {:method => :post} do |project_actions|
|
||||
|
|
Loading…
Reference in New Issue