Sha256: c250f7958548f5bcfff6ae06a88a9a7ff0bccbe30d9171558d6987d06035f3df
Contents?: true
Size: 496 Bytes
Versions: 7
Compression:
Stored size: 496 Bytes
Contents
module PostmanMta class LabelsController < ApplicationController def index render label.index(label_params) end def create render label.create(label_params) end def update render label.update(params[:id], 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
7 entries across 7 versions & 1 rubygems