Permalink
Browse files

Do not lookup MailForm::Resource in I18n.

  • Loading branch information...
1 parent 2346ea8 commit c58f0f0beede1865a06a8029cb60eeffc87d3d58 @josevalim josevalim committed Dec 28, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/mail_form/resource.rb
@@ -1,4 +1,8 @@
class MailForm::Resource
include MailForm::Shim
include MailForm::Delivery
+
+ def self.lookup_ancestors
+ super - [MailForm::Resource]
+ end
end

0 comments on commit c58f0f0

Please sign in to comment.