Sha256: b547f2f8a1bac1fcf75e3bfafcf0514ffbda47e49062b23e343b2d0c2da43276
Contents?: true
Size: 543 Bytes
Versions: 1
Compression:
Stored size: 543 Bytes
Contents
class MailEngine::ApplicationController < ApplicationController prepend_view_path MailEngine::MailTemplate::Resolver.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mail_engine-0.1.2 | app/controllers/mail_engine/application_controller.rb |