Fix lint
This commit is contained in:
parent
bd5b417d2b
commit
f5c6b6be40
7 changed files with 17 additions and 17 deletions
|
@ -79,11 +79,11 @@ module Admin
|
|||
end
|
||||
|
||||
def resource_params
|
||||
params.require(:friend_domain).permit(:domain, :inbox_url, :available, :pseudo_relay, :delivery_local, :unlocked, :allow_all_posts)
|
||||
params.expect(friend_domain: [:domain, :inbox_url, :available, :pseudo_relay, :delivery_local, :unlocked, :allow_all_posts])
|
||||
end
|
||||
|
||||
def update_resource_params
|
||||
params.require(:friend_domain).permit(:inbox_url, :available, :pseudo_relay, :delivery_local, :unlocked, :allow_all_posts)
|
||||
params.expect(friend_domain: [:inbox_url, :available, :pseudo_relay, :delivery_local, :unlocked, :allow_all_posts])
|
||||
end
|
||||
|
||||
def warn_signatures_not_enabled!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue