Sha256: fa7ea742e3f351bb28a7ae7965824d4e6f0f117ba1a9b5b91087920ceab6182e
Contents?: true
Size: 505 Bytes
Versions: 9
Compression:
Stored size: 505 Bytes
Contents
require_dependency "ishapi/application_controller" # gem_dir = Gem::Specification.find_by_name("ish_models").gem_dir # require "#{gem_dir}/lib/office/email_conversation" module Ishapi class EmailConversationsController < ApplicationController before_action :check_jwt def delete puts! params, 'deleting email conversations' authorize! :email_conversations_delete, ::Ishapi convos = Office::EmailConversation.find params[:ids] convos.map &:destroy end end end
Version data entries
9 entries across 9 versions & 1 rubygems