Add unread indicator to conversations (#9009)

This commit is contained in:
Eugen Rochko
2018-10-19 01:47:29 +02:00
committed by GitHub
parent bebe8ec887
commit a38a452481
13 changed files with 98 additions and 11 deletions

View File

@ -1,7 +1,6 @@
# frozen_string_literal: true
class Api::V1::ReportsController < Api::BaseController
before_action -> { doorkeeper_authorize! :read, :'read:reports' }, except: [:create]
before_action -> { doorkeeper_authorize! :write, :'write:reports' }, only: [:create]
before_action :require_user!