#
# == NewsletterSettingDecorator
#
class NewsletterSettingDecorator < ApplicationDecorator
  include Draper::LazyHelpers
  delegate_all

  def send_welcome_email_d
    color = model.send_welcome_email? ? 'green' : 'red'
    status_tag_deco I18n.t("#{send_welcome_email}"), color
  end

  def title_subscriber
    raw(model.title_subscriber)
  end

  def content_subscriber
    raw(model.content_subscriber)
  end
end

#
# == NewsletterSettingDecorator
#
class NewsletterSettingDecorator < ApplicationDecorator
  include Draper::LazyHelpers
  delegate_all

  def send_welcome_email_d
    color = model.send_welcome_email? ? 'green' : 'red'
    status_tag_deco I18n.t("#{send_welcome_email}"), color
  end

  def title_subscriber_d
    raw(model.title_subscriber)
  end

  def content_subscriber_d
    raw(model.content_subscriber)
  end
end

--- 
+++ 
@@ -10,11 +10,11 @@
     status_tag_deco I18n.t("#{send_welcome_email}"), color
   end
 
-  def title_subscriber_d
+  def title_subscriber
     raw(model.title_subscriber)
   end
 
-  def content_subscriber_d
+  def content_subscriber
     raw(model.content_subscriber)
   end
 end
Fix bug after refactoring method name in AA NewsletterSetting resource
