Refactoring Grape API methods into normal controllers & other things
This commit is contained in:
parent
11ff92c9d7
commit
0e8f59c16f
63 changed files with 336 additions and 406 deletions
9
app/views/stream_entries/show.atom.ruby
Normal file
9
app/views/stream_entries/show.atom.ruby
Normal file
|
@ -0,0 +1,9 @@
|
|||
Nokogiri::XML::Builder.new do |xml|
|
||||
entry(xml, true) do
|
||||
author(xml) do
|
||||
include_author xml, @entry.account
|
||||
end
|
||||
|
||||
include_entry xml, @entry
|
||||
end
|
||||
end.to_xml
|
Loading…
Add table
Add a link
Reference in a new issue