0
0
Fork 0

Individual atom entries

This commit is contained in:
Eugen Rochko 2016-02-22 19:11:07 +01:00
parent 1dad72bf13
commit 2bc48e9064
6 changed files with 69 additions and 5 deletions

View file

@ -2,8 +2,9 @@ Rails.application.routes.draw do
get '.well-known/host-meta', to: 'xrd#host_meta', as: :host_meta
get '.well-known/webfinger', to: 'xrd#webfinger', as: :webfinger
get 'atom/:id', to: 'atom#user_stream', as: :atom_user_stream
get 'user/:name', to: 'profile#show', as: :profile
get 'atom/entry/:id', to: 'atom#entry', as: :atom_entry
get 'atom/user/:id', to: 'atom#user_stream', as: :atom_user_stream
get 'user/:name', to: 'profile#show', as: :profile
mount Mastodon::API => '/api/'