diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-22 19:11:07 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-22 19:11:07 +0100 |
commit | 2bc48e9064c56101d1761a10d8c5badba60d2bbe (patch) | |
tree | c186943465a7e455274314c19f4eba892119ede5 /config | |
parent | 1dad72bf13f5e28781a2b2b6654f72624d205576 (diff) |
Individual atom entries
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 9ddc00c8f..16f602e4e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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/' |