Require user param for ListController#create

This commit is contained in:
Andreas Nedbal 2022-07-09 19:32:04 +02:00 committed by Karina Kwiatek
parent 47120e8d24
commit ca2cf727e1

View file

@ -5,6 +5,7 @@ class Ajax::ListController < AjaxController
def create
params.require :name
params.require :user
@response[:status] = :err