Eugen Rochko
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
app/controllers/api/v1/push/subscriptions_controller.rb
|
|
@ -21,6 +21,8 @@ class Api::V1::Push::SubscriptionsController < Api::BaseController |
|
|
|
end |
|
|
|
|
|
|
|
def show |
|
|
|
raise ActiveRecord::RecordNotFound if @web_subscription.nil? |
|
|
|
|
|
|
|
render json: @web_subscription, serializer: REST::WebPushSubscriptionSerializer |
|
|
|
end |
|
|
|
|
|
|
|