diff options
author | Shel R <Yiskah.Raphen@gmail.com> | 2017-04-07 22:44:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-07 22:44:40 -0400 |
commit | abab82ec1e086e257650ceed3d03a4d881e0a12e (patch) | |
tree | a8b7db83af6b84813c5bd951d38ca0334acb9af7 /app/services/concerns/stream_entry_renderer.rb | |
parent | 07495cc13feb78ae979a8af69a401cce8dcd4e8d (diff) | |
parent | f0797bf8cecd7d8537747bff66fc0363ccc59760 (diff) |
Merge branch 'master' into master
Diffstat (limited to 'app/services/concerns/stream_entry_renderer.rb')
-rw-r--r-- | app/services/concerns/stream_entry_renderer.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/services/concerns/stream_entry_renderer.rb b/app/services/concerns/stream_entry_renderer.rb index a4255daea..ef176d8a6 100644 --- a/app/services/concerns/stream_entry_renderer.rb +++ b/app/services/concerns/stream_entry_renderer.rb @@ -2,7 +2,6 @@ module StreamEntryRenderer def stream_entry_to_xml(stream_entry) - renderer = StreamEntriesController.renderer.new(method: 'get', http_host: Rails.configuration.x.local_domain, https: Rails.configuration.x.use_https) - renderer.render(:show, assigns: { stream_entry: stream_entry }, formats: [:atom]) + AtomSerializer.render(AtomSerializer.new.entry(stream_entry, true)) end end |