diff --git a/lib/noosfero/plugin/mailer_base.rb b/lib/noosfero/plugin/mailer_base.rb index 771a6a6..a5eb422 100644 --- a/lib/noosfero/plugin/mailer_base.rb +++ b/lib/noosfero/plugin/mailer_base.rb @@ -1,9 +1,5 @@ class Noosfero::Plugin::MailerBase < ActionMailer::Base - def self.inherited(child) - child.template_root = File.expand_path(Rails.root.join('plugins', child.plugin_name, 'views')) - end - def self.plugin_name name.split('::').first.gsub(/Plugin$/, '').underscore end -- libgit2 0.21.2