Permalink
Browse files

change plugin initialization to rails3 style

  • Loading branch information...
1 parent ef7233d commit fb3a42cdc3d19efc24f4f5fb2c59ab942c75d7c1 @chezka chezka committed Oct 19, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −0 init.rb
  2. +0 −2 rails/init.rb
View
@@ -1 +1,4 @@
require File.join(File.dirname(__FILE__), "lib", "paperclip")
+require 'paperclip/railtie'
+
+Paperclip::Railtie.insert
View
@@ -1,2 +0,0 @@
-require 'paperclip/railtie'
-Paperclip::Railtie.insert

0 comments on commit fb3a42c

Please sign in to comment.