Commit f2ef8c40 by Bruno Michel Committed by Jon Yurek

Add a Railtie class, so we can load rake tasks

Oops, I forgot to regenerate the gemspec
Railtie_name was deprecared in Rails edge - See 395d664
parent e766dd76
...@@ -7,6 +7,9 @@ module Paperclip ...@@ -7,6 +7,9 @@ module Paperclip
config.after_initialize do config.after_initialize do
Paperclip::Railtie.insert Paperclip::Railtie.insert
end end
rake_tasks do
load "tasks/paperclip.rake"
end
end end
end end
...@@ -17,4 +20,3 @@ module Paperclip ...@@ -17,4 +20,3 @@ module Paperclip
end end
end end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment