Sha256: b5ed30b0a6419cce0484aa180b08cbac4b5b6db5671ecfc57aa45e9e50949733
Contents?: true
Size: 659 Bytes
Versions: 5
Compression:
Stored size: 659 Bytes
Contents
class MailEngine::ApplicationController < ApplicationController # used when mail_template preview. prepend_view_path MailEngine::MailTemplateResolver.instance include MailEngine helper MailEngine::MailEngineHelper layout 'mail_engine/mail_engine' # set the access check method which set in the config. if MailEngine::Base.current_config["access_check_method"].present? before_filter MailEngine::Base.current_config["access_check_method"] end ### # return js o close fancy box and refresh page. def close_modal_and_refresh render :text => "<script>parent.$.fancybox.close();parent.window.location.reload();</script>" end end
Version data entries
5 entries across 5 versions & 1 rubygems