]> projects.mako.cc - selectricity/blobdiff - vendor/plugins/attachment_fu/init.rb
Changed justin's email in README because mit.edu address is out of date.
[selectricity] / vendor / plugins / attachment_fu / init.rb
index 0239e56b370ced1034360721e8f9a67c17a93ad4..dadcb07891ce1bf0c24daeed0aaaaceffad939b7 100644 (file)
@@ -11,4 +11,6 @@ end
 require 'geometry'
 ActiveRecord::Base.send(:extend, Technoweenie::AttachmentFu::ActMethods)
 Technoweenie::AttachmentFu.tempfile_path = ATTACHMENT_FU_TEMPFILE_PATH if Object.const_defined?(:ATTACHMENT_FU_TEMPFILE_PATH)
-FileUtils.mkdir_p Technoweenie::AttachmentFu.tempfile_path
\ No newline at end of file
+FileUtils.mkdir_p Technoweenie::AttachmentFu.tempfile_path
+
+$:.unshift(File.dirname(__FILE__) + '/vendor')

Benjamin Mako Hill || Want to submit a patch?