Sha256: e0da88f1a83a3c3c54868ee7c7ad22a91b486380923342b5c2e6b674cab426ee

Contents?: true

Size: 1.51 KB

Versions: 10

Compression:

Stored size: 1.51 KB

Contents

require File.join(File.dirname(__FILE__), 'info')
module Zena
  module App
    def self.included(base)
      base.prepend_view_path SITES_ROOT
      base.class_eval do
        include Zena::Use::Authlogic::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::Upload::ControllerMethods
        include Zena::Use::Urls::ControllerMethods
        include Zena::Use::Zafu::ControllerMethods

        helper  Zena::Use::Authlogic::ViewMethods
        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::Rendering::ViewMethods
        helper  Zena::Use::Upload::ViewMethods
        helper  Zena::Use::Urls::ViewMethods
        helper  Zena::Use::Zafu::ViewMethods
        helper  Zena::Use::Zazen::ViewMethods
        helper_method :render_to_string
      end
      Bricks.apply_patches('application_controller.rb')
      Bricks.apply_patches('application_helper.rb')
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
zena-0.16.9 lib/zena/app.rb
zena-0.16.8 lib/zena/app.rb
zena-0.16.7 lib/zena/app.rb
zena-0.16.6 lib/zena/app.rb
zena-0.16.5 lib/zena/app.rb
zena-0.16.4 lib/zena/app.rb
zena-0.16.3 lib/zena/app.rb
zena-0.16.2 lib/zena/app.rb
zena-0.16.1 lib/zena/app.rb
zena-0.16.0 lib/zena/app.rb