discourse/app/services/user_notification_renderer.rb

14 lines
307 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class UserNotificationRenderer < ActionView::Base
include ApplicationHelper
include UserNotificationsHelper
include EmailHelper
def self.instance
@instance ||= UserNotificationRenderer.with_view_paths(
Rails.configuration.paths["app/views"]
)
end
end