Sha256: 19956664d92f7fb04af4ef323e74acf5b12d5c550dded52ea543373643d7f8e5

Contents?: true

Size: 626 Bytes

Versions: 5

Compression:

Stored size: 626 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__) + '/url_helper.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.12 lib/prime/rails/engine.rb
prime-rails-0.0.11 lib/prime/rails/engine.rb
prime-rails-0.0.10 lib/prime/rails/engine.rb
prime-rails-0.0.9 lib/prime/rails/engine.rb
prime-rails-0.0.8 lib/prime/rails/engine.rb