Add alternate link to entries Atom

master
Eugen Rochko 9 years ago
parent 5764d52b04
commit f2da848a3e
  1. 1
      app/assets/stylesheets/dashboard.scss
  2. 1
      app/helpers/atom_builder_helper.rb

@ -55,6 +55,7 @@
a {
text-decoration: none;
color: inherit;
outline: 0;
}
.dashboard__current-user__avatar {

@ -168,6 +168,7 @@ module AtomBuilderHelper
content xml, conditionally_formatted(stream_entry.activity)
verb xml, stream_entry.verb
link_self xml, account_stream_entry_url(stream_entry.account, stream_entry, format: 'atom')
link_alternate xml, account_stream_entry_url(stream_entry.account, stream_entry)
# Comments need thread element
if stream_entry.threaded?

Loading…
Cancel
Save