Sha256: a816e77a6abb6b173e2f8b05236bcea4516790769cffd9d228471e496b920b27
Contents?: true
Size: 454 Bytes
Versions: 12
Compression:
Stored size: 454 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 authorize! :email_conversations_delete, ::Ishapi convos = Office::EmailConversation.find params[:ids] convos.map &:destroy end end end
Version data entries
12 entries across 12 versions & 1 rubygems