Sha256: e0da7dd479a5999aff206022778ead55847ee599175c63d24b9646f544ec3e25
Contents?: true
Size: 578 Bytes
Versions: 4
Compression:
Stored size: 578 Bytes
Contents
class MailEngine::ApplicationController < ApplicationController # used when mail_template preview. prepend_view_path MailEngine::MailTemplateResolver.instance layout 'mail_engine/mail_engine' # set the access check method. if MailEngine::Base.current_config["access_check_method"].present? before_filter MailEngine::Base.current_config["access_check_method"] end 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
4 entries across 4 versions & 1 rubygems