Merge commit 'dbb26586d891d81b264657d3686286366f6567c6' into glitch-soc/merge-upstream
This commit is contained in:
commit
20cece6e6e
17 files changed
+289
-446
No files matched your search
@@ -33,7 +33,7 @@ class Api::V1::Admin::IpBlocksController < Api::BaseController
|
||||
|
||||
def update
|
||||
authorize @ip_block, :update?
|
||||
@ip_block.update(resource_params)
|
||||
@ip_block.update!(resource_params)
|
||||
log_action :update, @ip_block
|
||||
render json: @ip_block, serializer: REST::Admin::IpBlockSerializer
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user