mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 10:29:07 +01:00
Require user
param for ListController#create
This commit is contained in:
parent
47120e8d24
commit
ca2cf727e1
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue