diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-10-19 01:47:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-19 01:47:29 +0200 |
commit | a38a452481d0f5207bb27ba7a2707c0028d2ac18 (patch) | |
tree | 5dfe4cab0fd6ebe15c924bd83e3abb6efca210db /config/routes.rb | |
parent | bebe8ec887ba67c51353e09d7758819b117bf62d (diff) |
Add unread indicator to conversations (#9009)
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index a2468c9bd..b203e1329 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -261,7 +261,12 @@ Rails.application.routes.draw do resources :streaming, only: [:index] resources :custom_emojis, only: [:index] resources :suggestions, only: [:index, :destroy] - resources :conversations, only: [:index] + + resources :conversations, only: [:index, :destroy] do + member do + post :read + end + end get '/search', to: 'search#index', as: :search |