Sha256: 08463a8f3091b971cf158525eba75e2bf460f1c339ebcfc7f5b126acfd09b775

Contents?: true

Size: 487 Bytes

Versions: 26

Compression:

Stored size: 487 Bytes

Contents

module Alchemy
  module Admin
    class DashboardController < Alchemy::Admin::BaseController

      def index
        @alchemy_version = Alchemy::VERSION
        @clipboard_items = session[:clipboard]
        @last_edited_pages = Page.all_last_edited_from(current_user)
        @locked_pages = Page.all_locked
        @online_users = User.logged_in.to_a - [current_user]
        @first_time = current_user.login_count == 1 && current_user.last_login_at.nil?
      end

    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
alchemy_cms-2.5.0.b9 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.3.2 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.2.4 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.4.1 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.5.0.b5 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.5.0.b2 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.4.0 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.4.rc4 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.4.rc2 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.4.rc1 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.3.1 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.4.beta2 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.2.3.2 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.2.3.1 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.3.0 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.3.rc5 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.2.2 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.2.1 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.2.0 app/controllers/alchemy/admin/dashboard_controller.rb
alchemy_cms-2.2.rc15 app/controllers/alchemy/admin/dashboard_controller.rb