Sha256: 31468996fc14368f63e467f547c1c6caaf48ed7f36513f19b2802c1d5da62288
Contents?: true
Size: 479 Bytes
Versions: 2
Compression:
Stored size: 479 Bytes
Contents
class MailEngine::ApplicationController < ApplicationController 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mail_engine-0.1.8 | app/controllers/mail_engine/application_controller.rb |
mail_engine-0.1.7 | app/controllers/mail_engine/application_controller.rb |