Merge branch 'master' into glitch-soc/merge

This commit is contained in:
Thibaut Girka
2018-05-14 20:51:50 +02:00
36 changed files with 314 additions and 260 deletions

View File

@ -20,6 +20,12 @@ class Api::V1::Push::SubscriptionsController < Api::BaseController
render json: @web_subscription, serializer: REST::WebPushSubscriptionSerializer
end
def show
raise ActiveRecord::RecordNotFound if @web_subscription.nil?
render json: @web_subscription, serializer: REST::WebPushSubscriptionSerializer
end
def update
raise ActiveRecord::RecordNotFound if @web_subscription.nil?