You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
288 B
15 lines
288 B
9 years ago
|
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
|