app/controllers/spotlight/attachments_controller.rb in blacklight-spotlight-3.2.0 vs app/controllers/spotlight/attachments_controller.rb in blacklight-spotlight-3.3.0
- old
+ new
@@ -15,10 +15,10 @@
render json: @attachment
end
private
- # Only allow a trusted parameter "white list" through.
+ # Only allow trusted parameters through.
def attachment_params
params.require(:attachment).permit(:name, :file, :uid)
end
end
end