Class: Users::ProfilesController
- Inherits:
-
ApplicationController
- Object
- ActionController::API
- ApplicationController
- Users::ProfilesController
- Defined in:
- app/controllers/users/profiles_controller.rb
Instance Attribute Summary
Attributes included from Authentication
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
3 4 5 |
# File 'app/controllers/users/profiles_controller.rb', line 3 def show ok(user: current_user) end |
#update ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/users/profiles_controller.rb', line 7 def update current_user.update!(update_params) ok end |