Sha256: 91cd90230603f7c01294123b870a592e79cadd2bf38e4b114b094db519faca31

Contents?: true

Size: 306 Bytes

Versions: 13

Compression:

Stored size: 306 Bytes

Contents

class Admin::MailMethodsController < Admin::BaseController
  resource_controller

  after_filter :initialize_mail_settings

  update.wants.html { redirect_to collection_url }
  create.wants.html { redirect_to collection_url }

  private
  def initialize_mail_settings
    Spree::MailSettings.init
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spree_core-0.30.2 app/controllers/admin/mail_methods_controller.rb
spree_core-0.40.4 app/controllers/admin/mail_methods_controller.rb
spree_core-0.50.4 app/controllers/admin/mail_methods_controller.rb
spree_core-0.50.3 app/controllers/admin/mail_methods_controller.rb
spree_core-0.50.2 app/controllers/admin/mail_methods_controller.rb
spree_core-0.50.1 app/controllers/admin/mail_methods_controller.rb
spree_core-0.50.0 app/controllers/admin/mail_methods_controller.rb
spree_core-0.40.3 app/controllers/admin/mail_methods_controller.rb
spree_core-0.40.2 app/controllers/admin/mail_methods_controller.rb
spree_core-0.40.1 app/controllers/admin/mail_methods_controller.rb
spree_core-0.40.0 app/controllers/admin/mail_methods_controller.rb
spree_core-0.30.1 app/controllers/admin/mail_methods_controller.rb
spree_core-0.30.0 app/controllers/admin/mail_methods_controller.rb