Class: MailyHerald::Webui::OneTimeMailingsController
Instance Method Summary
collapse
#preview, #update
#destroy, #index, #toggle, #update_form
#create, #destroy, #edit, #index, #new, #update
#expert_mode?, #work_mode
included
included
Instance Method Details
#archived ⇒ Object
6
7
8
9
10
|
# File 'app/controllers/maily_herald/webui/one_time_mailings_controller.rb', line 6
def archived
add_breadcrumb view_context.tw("#{controller_name}.archived.label")
super
end
|
#deliver ⇒ Object
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# File 'app/controllers/maily_herald/webui/one_time_mailings_controller.rb', line 16
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
|
#show ⇒ Object
12
13
14
|
# File 'app/controllers/maily_herald/webui/one_time_mailings_controller.rb', line 12
def show
super
end
|