mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
DEV: Apply syntax_tree formatting to app/*
This commit is contained in:
@ -18,6 +18,6 @@ class PushNotificationController < ApplicationController
|
||||
private
|
||||
|
||||
def push_params
|
||||
params.require(:subscription).permit(:endpoint, keys: [:p256dh, :auth])
|
||||
params.require(:subscription).permit(:endpoint, keys: %i[p256dh auth])
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user