Sha256: d518f1d10fdba6bb3b778afc298b0e1c4b6c5dcf165c62eaa64105bad5c75d98

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

module Admin
  class PostmarkReportsController < ApplicationController
    before_action(:authenticate_user!) if defined?(Devise)
    before_action { EffectiveResources.authorize!(self, :admin, :effective_postmark) }

    include Effective::CrudController

    def inactive_recipients
      @datatable = Admin::ReportInactiveRecipientsDatatable.new
      @page_title = @datatable.datatable_name

      authorize! :index, @datatable

      render 'index'
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_postmark-0.2.0 app/controllers/admin/postmark_reports_controller.rb