Files
app
assets
channels
controllers
helpers
lib
mailers
models
services
views
about
accounts
admin
api
auth
home
layouts
notification_mailer
oauth
settings
shared
stream_entries
_favourite.html.haml
_follow.html.haml
_status.html.haml
show.atom.ruby
show.html.haml
tags
user_mailer
xrd
workers
bin
config
db
lib
log
public
spec
storybook
vendor
.babelrc
.codeclimate.yml
.dockerignore
.env.production.sample
.env.test
.eslintrc
.gitignore
.nvmrc
.rspec
.rubocop.yml
.ruby-version
.travis.yml
Dockerfile
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
docker-compose.yml
package.json
yarn.lock
hometown/app/views/stream_entries/show.atom.ruby

10 lines
188 B
Ruby

Nokogiri::XML::Builder.new do |xml|
entry(xml, true) do
author(xml) do
include_author xml, @stream_entry.account
end
include_entry xml, @stream_entry
end
end.to_xml