Commit 27793a543353afa30cdce49c83b46fce0500aab0
1 parent
2aae157c
Exists in
master
and in
29 other branches
rails3: remove unused code from plugin mailer class
Showing
1 changed file
with
0 additions
and
4 deletions
Show diff stats
lib/noosfero/plugin/mailer_base.rb
1 | 1 | class Noosfero::Plugin::MailerBase < ActionMailer::Base |
2 | 2 | |
3 | - def self.inherited(child) | |
4 | - child.template_root = File.expand_path(Rails.root.join('plugins', child.plugin_name, 'views')) | |
5 | - end | |
6 | - | |
7 | 3 | def self.plugin_name |
8 | 4 | name.split('::').first.gsub(/Plugin$/, '').underscore |
9 | 5 | end | ... | ... |