diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-23 19:17:37 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-23 19:17:37 +0100 |
commit | fa33750105389110a3395ca19167f789d21a149e (patch) | |
tree | 4b121a067ad46be5189301a2e3e3b2bcef8d6426 /config | |
parent | 3b0bc18db928c455186273d9b9aa5b96d91e035e (diff) |
Adding reblogs, favourites, improving atom generation
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index c57baea28..72cfd3e3e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,6 +5,7 @@ Rails.application.routes.draw do 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 + get 'users/:name/:id', to: 'profile#entry', as: :status mount Mastodon::API => '/api/' |