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

Version Path
SFEley-browsercms-3.0.2 app/controllers/cms/dashboard_controller.rb
buzzware-browsercms-3.0.2 app/controllers/cms/dashboard_controller.rb
coredumplings-browsercms-3.0.0 app/controllers/cms/dashboard_controller.rb
nate-browsercms-3.0.210 app/controllers/cms/dashboard_controller.rb
nate-browsercms-3.0.211 app/controllers/cms/dashboard_controller.rb
we5-browsercms-3.0.1.1 app/controllers/cms/dashboard_controller.rb
webficient-browsercms-3.0.1 app/controllers/cms/dashboard_controller.rb
we5-browsercms-3.0.2 app/controllers/cms/dashboard_controller.rb
browsercms-3.0.2 app/controllers/cms/dashboard_controller.rb
browsercms-3.0.1 app/controllers/cms/dashboard_controller.rb
browsercms-3.0.0 app/controllers/cms/dashboard_controller.rb