Sha256: f5ed2b80e10a29fd872fcf4176759300c72e820f002e05df68495b47f41d9fbb

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

require_dependency "phcdevworks_accounts/application_controller"

module PhcdevworksAccounts
    class Admin::PagesController < ApplicationController

        # Filters
        include PhcdevworksCore::PhcdevworksPluginsHelper
        before_action :phcdevworks_accounts_admin_only
        layout "phcdevworks_accounts/application_profile", :only => [ :user_profile ]

        # Account Admin
        def dashboard
        end

        # User Admin
        def users_list
            @admin_users = User.all
        end

        def user_profile
            @admin_user = User.find_by_id(params[:id])
        end

    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcdevworks_accounts-3.3.0 app/controllers/phcdevworks_accounts/admin/pages_controller.rb