mirror of
https://iceshrimp.dev/blueb/Chuckya-fe-standalone.git
synced 2026-01-12 05:53:14 -08:00
14 lines
288 B
Ruby
14 lines
288 B
Ruby
class AtomController < ApplicationController
|
|
before_filter :set_format
|
|
|
|
def user_stream
|
|
@account = Account.find_by!(id: params[:id], domain: nil)
|
|
end
|
|
|
|
private
|
|
|
|
def set_format
|
|
request.format = 'xml'
|
|
response.headers['Content-Type'] = 'application/atom+xml'
|
|
end
|
|
end
|