Sha256: d28d57cdd96a2418e0f656e9fff84273b1f4999ca3d62a3771bc3871fc987c6e

Contents?: true

Size: 496 Bytes

Versions: 8

Compression:

Stored size: 496 Bytes

Contents

require 'rails'

require File.dirname(__FILE__) + '/breadcrumbs.rb'

module Twitter
  module Bootswatch
    module Rails
      module Helpers
        class Engine < ::Rails::Engine

          initializer 'twitter-bootswatch-rails-helpers.setup_helpers' do |app|
            app.config.to_prepare do
              ActionController::Base.send :include, BreadCrumbs
              ActionController::Base.send :helper, FlashHelper
            end
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
twitter-bootswatch-rails-helpers-3.3.2.0 lib/twitter/bootswatch/rails/helpers/engine.rb
twitter-bootswatch-rails-helpers-3.2.0.0 lib/twitter/bootswatch/rails/helpers/engine.rb
twitter-bootswatch-rails-helpers-3.1.0.0 lib/twitter/bootswatch/rails/helpers/engine.rb
twitter-bootswatch-rails-helpers-3.0.0.1 lib/twitter/bootswatch/rails/helpers/engine.rb
twitter-bootswatch-rails-helpers-3.0.0.0 lib/twitter/bootswatch/rails/helpers/engine.rb
twitter-bootswatch-rails-helpers-2.3.2.1 lib/twitter/bootswatch/rails/helpers/engine.rb
twitter-bootswatch-rails-helpers-2.3.2 lib/twitter/bootswatch/rails/helpers/engine.rb
twitter-bootswatch-rails-helpers-2.3.1 lib/twitter/bootswatch/rails/helpers/engine.rb