Class: Admin::ProfilesController
- Inherits:
-
AdminController
- Object
- AdminController
- Admin::ProfilesController
- Defined in:
- app/controllers/push_type/admin/profiles_controller.rb
Instance Method Summary collapse
Instance Method Details
#edit ⇒ Object
8 9 |
# File 'app/controllers/push_type/admin/profiles_controller.rb', line 8 def edit end |
#update ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'app/controllers/push_type/admin/profiles_controller.rb', line 11 def update if update_user profile_params flash[:notice] = 'Profile successfully updated.' bypass_sign_in @user redirect_to push_type_admin.edit_profile_path else render 'edit' end end |