Sha256: 85bf5a52b49c612c4d35eaf692026a739918b2a15d062728982a9677be01b235
Contents?: true
Size: 650 Bytes
Versions: 1
Compression:
Stored size: 650 Bytes
Contents
module MailyHerald class Webui::OneTimeMailingsController < Webui::MailingsController add_breadcrumb :label_one_time_mailing_plural, Proc.new{ one_time_mailings_path } set_menu_item :one_time_mailings def archived add_breadcrumb view_context.tw("#{controller_name}.archived.label") super end def show super end def deliver find_item if params[:entity_id] @e = @item.list.context.scope.find(params[:entity_id]) @item.deliver_to @e render_containers ["logs"] render_update else @item.run head :ok end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
maily_herald-webui-0.8.0 | app/controllers/maily_herald/webui/one_time_mailings_controller.rb |