Sha256: 888fd4bd564b9f2d3fb1d2eb687d1de9ec4ed4a9fca120e5eebaa4a13455bde6

Contents?: true

Size: 323 Bytes

Versions: 4

Compression:

Stored size: 323 Bytes

Contents

module Enki
  module Admin
    class DashboardController < BaseController
      def show
        @posts            = Post.find_recent(:limit => 8)
        @pages            = Page.limit(8)
        @comment_activity = CommentActivity.find_recent if comments?
        @stats            = Stats.new
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 app/controllers/enki/admin/dashboard_controller.rb
enki-engine-0.0.4 app/controllers/enki/admin/dashboard_controller.rb
enki-engine-0.0.3 app/controllers/enki/admin/dashboard_controller.rb
enki-engine-0.0.2 app/controllers/enki/admin/dashboard_controller.rb