Sha256: 7524dd8e00557813c74c90ff86e5b7700ded65d1c9c73013b3537e230ce60d23
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 Bytes
Contents
# Set load paths to include the plugin /app directory controller_path = "#{File.dirname(__FILE__)}/app/controllers" model_path = "#{File.dirname(__FILE__)}/app/models" helper_path = "#{File.dirname(__FILE__)}/app/helpers" $LOAD_PATH << controller_path $LOAD_PATH << model_path Dependencies.load_paths += [ controller_path, model_path, helper_path ] config.controller_paths << controller_path # Goldberg's libraries Dir["#{File.dirname(__FILE__)}/lib/**/*.rb"].each do |lib| require lib end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
goldberg_generator-0.2.2 | templates/vendor/plugins/goldberg/init.rb |