mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-18 20:36:01 +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
|
||||
params.require :name
|
||||
params.require :user
|
||||
|
||||
@response[:status] = :err
|
||||
|
||||
|
|
Loading…
Reference in a new issue