Class: MailManager::BouncesController
Instance Method Summary
collapse
#site_url, #title, #use_show_for_resources?
Instance Method Details
#index ⇒ Object
6
7
8
9
10
11
12
13
14
|
# File 'app/controllers/mail_manager/bounces_controller.rb', line 6
def index
params[:bounce] = Hash.new unless params[:bounce]
@mailings = Mailing.with_bounces(params[:bounce][:status])
@bounces = []
@bounces = Bounce.scoped
@bounces = @bounces.by_mailing_id(@mailing.id) if @mailing.present?
@bounces = @bounces.by_status(params[:bounce][:status]) if params[:bounce][:status].present?
@bounces = @bounces.paginate(:page => params[:page])
end
|
#show ⇒ Object
16
17
|
# File 'app/controllers/mail_manager/bounces_controller.rb', line 16
def show
end
|