Sha256: 618d1828b41088d535f3dfc2ae908d01482b4982d2ef463c1d1106a999ad7fc3

Contents?: true

Size: 579 Bytes

Versions: 2

Compression:

Stored size: 579 Bytes

Contents

require 'loaf/configuration'
require 'loaf/railtie'
require 'loaf/crumb'
require 'loaf/builder'
require 'loaf/translation'
require 'loaf/controller_extensions'
require 'loaf/view_extensions'
require 'loaf/crumb_formatter'

module Loaf
  extend Configuration

  if defined? Rails::Railtie
    require 'loaf/railtie'
  else
    autoload :ControllerExtensions, 'loaf/controller_extensions'
    autoload :Helpers, 'loaf/view_extensions'

    ::ActionController::Base.send :include, Loaf::ControllerExtensions
    ::ActionController::Base.helper Loaf::ViewExtensions
  end
end # Loaf

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
loaf-0.2.1 lib/loaf.rb
loaf-0.2.0 lib/loaf.rb