Class: PostmanMta::LabelsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Metal
- ApplicationController
- PostmanMta::LabelsController
- Defined in:
- app/controllers/postman_mta/labels_controller.rb
Constant Summary
Constants inherited from ApplicationController
ApplicationController::MODULES
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
3 4 5 |
# File 'app/controllers/postman_mta/labels_controller.rb', line 3 def create render label.create(label_params) end |
#destroy ⇒ Object
7 8 9 |
# File 'app/controllers/postman_mta/labels_controller.rb', line 7 def destroy render label.destroy(params[:id]) end |