Merged activities & projects pages

This commit is contained in:
Dmitriy Zaporozhets 2012-03-20 00:05:35 +02:00
parent 724ea16c34
commit cadf12c60c
9 changed files with 11 additions and 65 deletions

View file

@ -34,9 +34,4 @@ 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