]> projects.mako.cc - selectricity-live/blobdiff - vendor/plugins/attachment_fu/init.rb
added new tests and fixtures
[selectricity-live] / 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?