Sha256: 1928892789183eabdcb0e58a08f285b12ce5f7a8a6c86fc8f3abd7b5d5f99d59
Contents?: true
Size: 507 Bytes
Versions: 3
Compression:
Stored size: 507 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.all_online.to_a.delete_if { |u| u == current_user } @first_time = current_user.login_count == 1 && current_user.last_login_at.nil? end end end end
Version data entries
3 entries across 3 versions & 1 rubygems