Improved Atom rendering templates, added README
This commit is contained in:
parent
2bc48e9064
commit
3b0bc18db9
8 changed files with 180 additions and 100 deletions
|
@ -2,9 +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/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
|
||||
get 'atom/entries/:id', to: 'atom#entry', as: :atom_entry
|
||||
get 'atom/users/:id', to: 'atom#user_stream', as: :atom_user_stream
|
||||
get 'users/:name', to: 'profile#show', as: :profile
|
||||
|
||||
mount Mastodon::API => '/api/'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue