Sha256: 395cad424115d9e82f5adfdda9d479901a6760ef3ad522eaa694e430d1ee84ea

Contents?: true

Size: 671 Bytes

Versions: 8

Compression:

Stored size: 671 Bytes

Contents

require_dependency "phcdevworks_accounts_devise/application_controller"

module PhcdevworksAccountsDevise
    class Admin::PagesController < ApplicationController

        # Filters
        include PhcdevworksCore::PhcdevworksPluginsHelper
        before_action :phcdevworks_accounts_admin_only
        layout "phcdevworks_accounts_devise/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

8 entries across 8 versions & 1 rubygems

Version Path
phcdevworks_accounts_devise-1.1.1 app/controllers/phcdevworks_accounts_devise/admin/pages_controller.rb
phcdevworks_accounts_devise-1.1.0 app/controllers/phcdevworks_accounts_devise/admin/pages_controller.rb
phcdevworks_accounts_devise-1.0.1 app/controllers/phcdevworks_accounts_devise/admin/pages_controller.rb
phcdevworks_accounts_devise-1.0.0 app/controllers/phcdevworks_accounts_devise/admin/pages_controller.rb
phcdevworks_accounts_devise-0.1.3.pre.beta app/controllers/phcdevworks_accounts_devise/admin/pages_controller.rb
phcdevworks_accounts_devise-0.1.2.pre.beta app/controllers/phcdevworks_accounts_devise/admin/pages_controller.rb
phcdevworks_accounts_devise-0.1.1.pre.beta app/controllers/phcdevworks_accounts_devise/admin/pages_controller.rb
phcdevworks_accounts_devise-0.1.0.pre.beta app/controllers/phcdevworks_accounts_devise/admin/pages_controller.rb