Class: Admin::ProfilesController
- Inherits:
-
BaseController
- Object
- BaseController
- Admin::ProfilesController
- Defined in:
- app/controllers/profiled/admin/profiles_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/profiled/admin/profiles_controller.rb', line 5 def index q_params = {} q_params.merge! default_params @profiles = Profile.default_where(q_params).page(params[:page]) end |
#qrcode ⇒ Object
16 17 18 19 |
# File 'app/controllers/profiled/admin/profiles_controller.rb', line 16 def qrcode @profile.init_user @profile.account.qrcode end |
#user ⇒ Object
12 13 14 |
# File 'app/controllers/profiled/admin/profiles_controller.rb', line 12 def user @profile.init_user end |