Sha256: 587c007b9706867f15e7e6004a6eb8fef9f0fcf4c88e12daaf6bc85a19697f70

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

class MailEngine::ApplicationController < ActionController::Base
  prepend_view_path MailEngine::MailTemplate::Resolver.instance

  layout 'mail_engine/mail_engine'
  include MailEngine
  helper MailEngine::MailEngineHelper
  
  def close_modal_and_refresh
    render :text => "<script>parent.$.fancybox.close();parent.window.location.reload();</script>"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mail_engine-0.1.1 app/controllers/mail_engine/application_controller.rb
mail_engine-0.1.0 app/controllers/mail_engine/application_controller.rb