Sha256: 418b9cd4baecbbd57edf06c8fbdbe34f7de2d0d84d26c746a65a678ab4772a45
Contents?: true
Size: 292 Bytes
Versions: 11
Compression:
Stored size: 292 Bytes
Contents
class Cms::DashboardController < Cms::BaseController def index @unpublished_pages = Page.unpublished.all(:order => "updated_at desc") @incomplete_tasks = current_user.tasks.incomplete.all( :include => :page, :order => "tasks.due_date desc, pages.name") end end
Version data entries
11 entries across 11 versions & 7 rubygems