lib/fediverse/notifier.rb in federails-0.2.0 vs lib/fediverse/notifier.rb in federails-0.3.0
- old
+ new
@@ -15,10 +15,10 @@
end
private
def payload(activity)
- Federails::ApplicationController.renderer.new.render(
+ Federails::ServerController.renderer.new.render(
template: 'federails/server/activities/show',
assigns: { activity: activity },
format: :json
)
end