Sha256: a7b3159d8822d24f8a2940ea75fbbe35ece885ee79abc15d63b733b26da3ca39
Contents?: true
Size: 256 Bytes
Versions: 3
Compression:
Stored size: 256 Bytes
Contents
module Maily class ApplicationController < Maily.base_controller.constantize before_filter :maily_enabled? layout 'maily/application' private def maily_enabled? Maily.enabled || raise('Maily: engine disabled!') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
maily-0.3.5 | app/controllers/maily/application_controller.rb |
maily-0.3.4 | app/controllers/maily/application_controller.rb |
maily-0.3.3 | app/controllers/maily/application_controller.rb |