diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-29 01:30:32 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-29 01:30:32 +0100 |
commit | 3f075c7794ca7cc6e3c566591e9929859c6c325c (patch) | |
tree | fd649accdafbb57cf1ac5d7231dd44bd5dd447c8 /config | |
parent | 1992575d577bf5b4c408a0104ad310e17846466a (diff) |
API for apps to register for push notifications
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 87f35770a..bce345f2e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -118,6 +118,9 @@ Rails.application.routes.draw do resources :blocks, only: [:index] resources :favourites, only: [:index] + post '/devices/register', to: 'devices#register', as: :register_device + post '/devices/unregister', to: 'devices#unregister', as: :unregister_device + resources :follow_requests, only: [:index] do member do post :authorize |