Browse Source

Remove unused function

pull/2613/head
Rachael Booth 2 years ago
parent
commit
f890b0d1f6
  1. 5
      app/models/notification.rb

5
app/models/notification.rb

@ -13,9 +13,4 @@ class Notification < ApplicationRecord
def self.newest_active_unauthenticated_notification
active_unauthenticated_notifications.last
end
def rendered_title(options = {})
renderer = NotificationTitleRenderer.new(options)
Redcarpet::Markdown.new(renderer, no_intra_emphasis: true).render(title)
end
end

Loading…
Cancel
Save