Class: Me::ProfilesController
- Inherits:
-
BaseController
- Object
- BaseController
- Me::ProfilesController
- Defined in:
- app/controllers/profiled/me/profiles_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
19 20 |
# File 'app/controllers/profiled/me/profiles_controller.rb', line 19 def destroy end |
#edit ⇒ Object
8 9 |
# File 'app/controllers/profiled/me/profiles_controller.rb', line 8 def edit end |
#show ⇒ Object
5 6 |
# File 'app/controllers/profiled/me/profiles_controller.rb', line 5 def show end |
#update ⇒ Object
11 12 13 14 15 16 17 |
# File 'app/controllers/profiled/me/profiles_controller.rb', line 11 def update @profile.assign_attributes profile_params unless @profile.save render :edit, locals: { model: @profile }, status: :unprocessable_entity end end |