Require `user` param for `ListController#create`
This commit is contained in:
parent
47120e8d24
commit
ca2cf727e1
|
@ -5,6 +5,7 @@ class Ajax::ListController < AjaxController
|
||||||
|
|
||||||
def create
|
def create
|
||||||
params.require :name
|
params.require :name
|
||||||
|
params.require :user
|
||||||
|
|
||||||
@response[:status] = :err
|
@response[:status] = :err
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue