Sha256: 2ed5227e4efb0c7361066f6884b047a3ca27d23944b417617182ec2ec063a1ac
Contents?: true
Size: 1.47 KB
Versions: 1
Compression:
Stored size: 1.47 KB
Contents
module Zena module App def self.included(base) base.prepend_view_path SITES_ROOT base.class_eval do include Zena::Use::Authentification::ControllerMethods include Zena::Use::Dates::ControllerMethods include Zena::Use::ErrorRendering::ControllerMethods include Zena::Use::I18n::ControllerMethods include Zena::Use::Refactor::ControllerMethods include Zena::Use::Rendering::ControllerMethods include Zena::Use::Urls::ControllerMethods include Zena::Use::Zafu::ControllerMethods # FIXME: could we move these into their modules ? before_filter :set_lang before_filter :authorize before_filter :check_lang after_filter :set_encoding layout false helper Zena::Acts::Secure helper Zena::Use::Ajax::ViewMethods helper Zena::Use::Calendar::ViewMethods helper Zena::Use::Dates::ViewMethods helper Zena::Use::ErrorRendering::ViewMethods helper Zena::Use::HtmlTags::ViewMethods helper Zena::Use::I18n::ViewMethods helper Zena::Use::NestedAttributesAlias::ViewMethods helper Zena::Use::Refactor::ViewMethods helper Zena::Use::Urls::ViewMethods helper Zena::Use::Zafu::ViewMethods helper Zena::Use::Zazen::ViewMethods end Bricks::Patcher.apply_patches('application_controller.rb') Bricks::Patcher.apply_patches('application_helper.rb') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zena-0.15.0 | lib/zena/app.rb |