Class: MailyHerald::Webui::SequenceMailingsController

Inherits:
MailingsController show all
Defined in:
app/controllers/maily_herald/webui/sequence_mailings_controller.rb

Instance Method Summary collapse

Methods inherited from MailingsController

#preview, #update

Methods inherited from DispatchesController

#archived, #destroy, #index, #toggle, #update_form

Methods inherited from ResourcesController

#destroy, #edit, #index, #show, #update

Methods inherited from ApplicationController

#expert_mode?, #work_mode

Methods included from MenuManager::ControllerExtensions

included

Methods included from Breadcrumbs::ControllerExtensions

included

Instance Method Details

#createObject



13
14
15
16
17
# File 'app/controllers/maily_herald/webui/sequence_mailings_controller.rb', line 13

def create
  super do |mailing|
    mailing.sequence = @sequence
  end
end

#newObject



8
9
10
11
# File 'app/controllers/maily_herald/webui/sequence_mailings_controller.rb', line 8

def new
  super
  @item.sequence = @sequence
end