Sha256: a416a7c749927a1f088aa150fe2763a2add082536ffaeefa13c7096a49df0a37

Contents?: true

Size: 361 Bytes

Versions: 54

Compression:

Stored size: 361 Bytes

Contents

require 'magic_addresses'
require 'rails'

module MagicAddresses
  class Railtie < Rails::Railtie
    
    initializer "my_gem.view_helpers" do
      ActionView::Base.send :include, MgcaHelper
      
      #Sprockets.append_path( "../../vendor/assets" )
      Rails.application.config.assets.precompile += %w( flags/*.* )
      
    end
    # ...
    
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
magic_addresses-0.0.44 lib/magic_addresses/railtie.rb
magic_addresses-0.0.43 lib/magic_addresses/railtie.rb
magic_addresses-0.0.42 lib/magic_addresses/railtie.rb
magic_addresses-0.0.41 lib/magic_addresses/railtie.rb
magic_addresses-0.0.40 lib/magic_addresses/railtie.rb
magic_addresses-0.0.39 lib/magic_addresses/railtie.rb
magic_addresses-0.0.39.rc8 lib/magic_addresses/railtie.rb
magic_addresses-0.0.39.rc7 lib/magic_addresses/railtie.rb
magic_addresses-0.0.39.rc6 lib/magic_addresses/railtie.rb
magic_addresses-0.0.39.rc5 lib/magic_addresses/railtie.rb
magic_addresses-0.0.39.rc4 lib/magic_addresses/railtie.rb
magic_addresses-0.0.39.rc3 lib/magic_addresses/railtie.rb
magic_addresses-0.0.39.rc2 lib/magic_addresses/railtie.rb
magic_addresses-0.0.39.rc1 lib/magic_addresses/railtie.rb
magic_addresses-0.0.38 lib/magic_addresses/railtie.rb
magic_addresses-0.0.38.beta2 lib/magic_addresses/railtie.rb
magic_addresses-0.0.38.beta1 lib/magic_addresses/railtie.rb
magic_addresses-0.0.37 lib/magic_addresses/railtie.rb
magic_addresses-0.0.36 lib/magic_addresses/railtie.rb
magic_addresses-0.0.35 lib/magic_addresses/railtie.rb