Skip to content

Commit

Permalink
Add a Railtie class, so we can load rake tasks
Browse files Browse the repository at this point in the history
Oops, I forgot to regenerate the gemspec
Railtie_name was deprecared in Rails edge - See 395d664
  • Loading branch information
nono authored and Jon Yurek committed Jun 6, 2010
1 parent e766dd7 commit f2ef8c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/paperclip/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ class Railtie < Rails::Railtie
config.after_initialize do
Paperclip::Railtie.insert
end
rake_tasks do
load "tasks/paperclip.rake"
end
end
end

Expand All @@ -17,4 +20,3 @@ def self.insert
end
end
end

File renamed without changes.

0 comments on commit f2ef8c4

Please sign in to comment.