Sha256: 3e17c9ed78e4e03b7bae58106b0bd1656c69bcfda7ea3089f52a941c728ed5dd
Contents?: true
Size: 194 Bytes
Versions: 4
Compression:
Stored size: 194 Bytes
Contents
class TodosController::TodoParams < Aldous::Params def permitted_params params.require(:todo).permit(:description, :user_id) end def error_message 'Missing param :todo' end end
Version data entries
4 entries across 4 versions & 1 rubygems