Sha256: ac3ed6721d4d88c2f556fa60cda5c5b9065cdb04bb75fdebbe960b7bc5906a34
Contents?: true
Size: 357 Bytes
Versions: 10
Compression:
Stored size: 357 Bytes
Contents
module PostmanMta class LabelsController < ApplicationController def create render label.create(label_params) end def destroy render label.destroy(params[:id]) end private def label @label ||= PostmanMta::Label.new(params[:conversation_id]) end def label_params params.permit! end end end
Version data entries
10 entries across 10 versions & 1 rubygems