Sha256: 714926bcf0e995ecf1aa1162ca2b0e0369341abb643adab81d6ba89bf1621624
Contents?: true
Size: 648 Bytes
Versions: 18
Compression:
Stored size: 648 Bytes
Contents
# Constants module Eitil Root = Gem.loaded_specs['eitil'].full_gem_path Layers = %w( eitil_core eitil_support eitil_wrapper eitil_store eitil_integrate ) end # Configuration module Eitil class Railtie < ::Rails::Railtie Eitil::Layers.each do |layer| # Add lib dirs to $LOAD_PATH, making them available in your main app. $LOAD_PATH << "#{Eitil::Root}/#{layer}/lib" # Load railtie into main app, enabling on the fly inclusion of dispatches. require "#{layer}/railtie" end end mattr_accessor :get_controller_ivars_method def self.set_config(&block) yield self end end
Version data entries
18 entries across 18 versions & 1 rubygems