Sha256: dc70b2b0ac313df2afc08bf43cd011a595ab2e65629e4124cff0be49ae2d53b9

Contents?: true

Size: 686 Bytes

Versions: 5

Compression:

Stored size: 686 Bytes

Contents

require 'rails'

require File.dirname(__FILE__) + '/prime-rails-breadcrumbs.rb'
require File.dirname(__FILE__) + '/utils.rb'
require File.dirname(__FILE__) + '/form_tag_helper.rb'
require File.dirname(__FILE__) + '/form_helper.rb'
require File.dirname(__FILE__) + '/tags/text_field.rb'
require File.dirname(__FILE__) + '/tags/text_area.rb'


module Prime
  module Rails    
  	class Engine < ::Rails::Engine
    	initializer 'prime-rails.setup_helpers' do |app|
          app.config.to_prepare do
            ActionController::Base.send :include, BreadCrumbs            
            ActionController::Base.send :include, Utils
          end
        end
    end                
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
prime-rails-0.0.7 lib/prime/rails/engine.rb
prime-rails-0.0.6 lib/prime/rails/engine.rb
prime-rails-0.0.5 lib/prime/rails/engine.rb
prime-rails-0.0.4 lib/prime/rails/engine.rb
prime-rails-0.0.3 lib/prime/rails/engine.rb