0
0
Fork 0

Improved Atom rendering templates, added README

This commit is contained in:
Eugen Rochko 2016-02-23 13:08:01 +01:00
parent 2bc48e9064
commit 3b0bc18db9
8 changed files with 180 additions and 100 deletions

View file

@ -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/'