Merge branch 'master' into glitch-soc/merge

This commit is contained in:
Thibaut Girka committed 2018-05-14 20:51:50 +02:00
commit ba7ee67498
36 files changed
+314 -260

No files matched your search

@@ -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?