Activities page added. Dashboard few specs. Preparing for 2.3
This commit is contained in:
parent
d87abbe9af
commit
724ea16c34
17 changed files with 122 additions and 73 deletions
|
@ -34,4 +34,9 @@ class DashboardController < ApplicationController
|
|||
format.atom { render :layout => false }
|
||||
end
|
||||
end
|
||||
|
||||
def activities
|
||||
@projects = current_user.projects.all
|
||||
@events = Event.where(:project_id => @projects.map(&:id)).recent.limit(40)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue