Sha256: 6483d9c012f7962a437a7edea9d086388a789c001bf0d0bc34518d8899e513c4
Contents?: true
Size: 544 Bytes
Versions: 96
Compression:
Stored size: 544 Bytes
Contents
require 'rails_generator' # 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 ActiveSupport::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
96 entries across 96 versions & 1 rubygems