Sha256: 79fba1d5fb1d24cbbff65fe5762cd0abec596bd847364c2baf0a155cf650f01f

Contents?: true

Size: 536 Bytes

Versions: 3

Compression:

Stored size: 536 Bytes

Contents

require_dependency "phcdevworks_accounts/application_controller"

module PhcdevworksAccounts
    class Admin::PagesController < ApplicationController

        # Filters
        include PhcdevworksCore::PhcdevworksPluginsHelper
        before_action :phcdevworks_accounts_admin_only


        # Account Admin
        def dashboard
        end

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

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

    end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcdevworks_accounts-2.3.0 app/controllers/phcdevworks_accounts/admin/pages_controller.rb
phcdevworks_accounts-2.2.3 app/controllers/phcdevworks_accounts/admin/pages_controller.rb
phcdevworks_accounts-2.2.1 app/controllers/phcdevworks_accounts/admin/pages_controller.rb