mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-23 17:19:47 +02:00
fix
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
IndexController = BaseController:extends{
|
||||
class = "IndexController",
|
||||
registry = {},
|
||||
models = { "sections", "category" }
|
||||
}
|
||||
BaseController:subclass("IndexController",
|
||||
{
|
||||
registry = {},
|
||||
models = { "sections", "category" }
|
||||
})
|
||||
|
||||
local sectionsByCid = function(db, id)
|
||||
local cond = { exp = { ["="] = { cid = id } } , order = { start = "DESC" } }
|
||||
|
@ -1,6 +1,4 @@
|
||||
TocController = BaseController:extends{
|
||||
class = "TocController"
|
||||
}
|
||||
BaseController:subclass("TocController")
|
||||
|
||||
function TocController:index(...)
|
||||
return true
|
||||
|
@ -1,7 +1,6 @@
|
||||
UserController = BaseController:extends{
|
||||
class = "UserController",
|
||||
BaseController:subclass("UserController",{
|
||||
models = {"user"}
|
||||
}
|
||||
})
|
||||
|
||||
function UserController:index(...)
|
||||
local args = {...}
|
||||
|
Reference in New Issue
Block a user