Sha256: 7907a32206ab988dd34f63150ac07757d1afec2d71d25a8903544540e1fc6a21
Contents?: true
Size: 508 Bytes
Versions: 16
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true module Emailbutler module Ui class MessagesController < Emailbutler::UiController before_action :find_message def update ::Emailbutler.resend_message(@message) redirect_to ui_index_path end def destroy ::Emailbutler.destroy_message(@message) redirect_to ui_index_path end private def find_message @message = ::Emailbutler.find_message_by(uuid: params[:id]) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems