diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-23 13:08:01 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-23 13:08:01 +0100 |
commit | 3b0bc18db928c455186273d9b9aa5b96d91e035e (patch) | |
tree | a372d4506ace34debd9cf500a597bc27ecb74705 /config | |
parent | 2bc48e9064c56101d1761a10d8c5badba60d2bbe (diff) |
Improved Atom rendering templates, added README
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 16f602e4e..c57baea28 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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/' |