Class: Api::V1::MesController
- Inherits:
-
BaseController
- Object
- BaseController
- Api::V1::MesController
- Defined in:
- app/controllers/api/v1/mes_controller.rb
Overview
Just a demo api controller you can remove this
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
7 8 9 10 |
# File 'app/controllers/api/v1/mes_controller.rb', line 7 def destroy current_user.destroy render json: {} end |
#show ⇒ Object
3 4 5 |
# File 'app/controllers/api/v1/mes_controller.rb', line 3 def show render json: current_user end |