Sha256: 2422ce5bb54d94f779ef7a3feed16297f0f91ee3b2676e18d37bc6c69aea06ce
Contents?: true
Size: 559 Bytes
Versions: 2
Compression:
Stored size: 559 Bytes
Contents
class MailEngine::ApplicationController < ApplicationController 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mail_engine-0.1.10 | app/controllers/mail_engine/application_controller.rb |
mail_engine-0.1.9 | app/controllers/mail_engine/application_controller.rb |