Sha256: be5cdc47b9d4ff9ef8c8319727e0ad32fe2745e1b18dd82c9ec5714570feac20
Contents?: true
Size: 608 Bytes
Versions: 2
Compression:
Stored size: 608 Bytes
Contents
# All behavior from UmlautController is extracted into this module, # so that we can generate a local UmlautController that includes # this module, and local app can configure or over-ride default behavior. # module Umlaut::ControllerBehavior extend ActiveSupport::Concern include UmlautConfigurable include Umlaut::ErrorHandling include Umlaut::ControllerLogic included do |controller| controller.helper Umlaut::Helper # global umlaut view helpers # init default configuration values UmlautConfigurable.set_default_configuration!(controller.umlaut_config) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
umlaut-3.0.0alpha2 | app/controllers/umlaut/controller_behavior.rb |
umlaut-3.0.0alpha1 | app/controllers/umlaut/controller_behavior.rb |