Class: Admin::PagesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Admin::PagesController
- Includes:
- PhcdevworksCore::PhcdevworksPluginsHelper
- Defined in:
- app/controllers/phcdevworks_accounts/admin/pages_controller.rb
Instance Method Summary collapse
-
#dashboard ⇒ Object
Account Admin.
- #user_profile ⇒ Object
-
#users_list ⇒ Object
User Admin.
Instance Method Details
#dashboard ⇒ Object
Account Admin
12 13 |
# File 'app/controllers/phcdevworks_accounts/admin/pages_controller.rb', line 12 def dashboard end |
#user_profile ⇒ Object
20 21 22 |
# File 'app/controllers/phcdevworks_accounts/admin/pages_controller.rb', line 20 def user_profile @admin_user = User.find_by_id(params[:id]) end |
#users_list ⇒ Object
User Admin
16 17 18 |
# File 'app/controllers/phcdevworks_accounts/admin/pages_controller.rb', line 16 def users_list @admin_users = User.all end |