Class: PostmanMta::TagsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/postman_mta/tags_controller.rb

Constant Summary

Constants inherited from ApplicationController

ApplicationController::MODULES

Instance Method Summary collapse

Instance Method Details

#createObject



3
4
5
# File 'app/controllers/postman_mta/tags_controller.rb', line 3

def create
  render tag.create(tag_params)
end

#destroyObject



7
8
9
# File 'app/controllers/postman_mta/tags_controller.rb', line 7

def destroy
  render tag.destroy(params[:id])
end