@@ -34,7 +34,7 | |||||
34 | <div class="splitcontentright"> |
|
34 | <div class="splitcontentright"> | |
35 |
|
35 | |||
36 | <% unless @events_by_day.empty? %> |
|
36 | <% unless @events_by_day.empty? %> | |
37 | <h3><%= link_to l(:label_activity), :controller => 'projects', :action => 'activity', :user_id => @user, :from => @events_by_day.keys.first %></h3> |
|
37 | <h3><%= link_to l(:label_activity), :controller => 'projects', :action => 'activity', :id => nil, :user_id => @user, :from => @events_by_day.keys.first %></h3> | |
38 |
|
38 | |||
39 | <p> |
|
39 | <p> | |
40 | <%=l(:label_reported_issues)%>: <%= Issue.count(:conditions => ["author_id=?", @user.id]) %> |
|
40 | <%=l(:label_reported_issues)%>: <%= Issue.count(:conditions => ["author_id=?", @user.id]) %> |
@@ -193,8 +193,8 ActionController::Routing::Routes.draw do |map| | |||||
193 | projects.with_options :action => 'activity', :conditions => {:method => :get} do |activity| |
|
193 | projects.with_options :action => 'activity', :conditions => {:method => :get} do |activity| | |
194 | activity.connect 'projects/:id/activity' |
|
194 | activity.connect 'projects/:id/activity' | |
195 | activity.connect 'projects/:id/activity.:format' |
|
195 | activity.connect 'projects/:id/activity.:format' | |
196 | activity.connect 'activity' |
|
196 | activity.connect 'activity', :id => nil | |
197 | activity.connect 'activity.:format' |
|
197 | activity.connect 'activity.:format', :id => nil | |
198 | end |
|
198 | end | |
199 |
|
199 | |||
200 | projects.with_options :conditions => {:method => :post} do |project_actions| |
|
200 | projects.with_options :conditions => {:method => :post} do |project_actions| |
General Comments 0
You need to be logged in to leave comments.
Login now