about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-02-23 13:08:01 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-02-23 13:08:01 +0100
commit3b0bc18db928c455186273d9b9aa5b96d91e035e (patch)
treea372d4506ace34debd9cf500a597bc27ecb74705 /config
parent2bc48e9064c56101d1761a10d8c5badba60d2bbe (diff)
Improved Atom rendering templates, added README
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
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/'