Mercurial > hg > soundsoftware-site
view .svn/pristine/97/970663dda11fc93b0d151821842807874fff87e5.svn-base @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +0100 |
parents | 038ba2d95de8 |
children |
line wrap: on
line source
# Loads the core plugins located in lib/plugins Dir.glob(File.join(Rails.root, "lib/plugins/*")).sort.each do |directory| if File.directory?(directory) lib = File.join(directory, "lib") if File.directory?(lib) $:.unshift lib ActiveSupport::Dependencies.autoload_paths += [lib] end initializer = File.join(directory, "init.rb") if File.file?(initializer) config = config = RedmineApp::Application.config eval(File.read(initializer), binding, initializer) end end end