mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-26 10:39:46 +02:00
allow controller to change view layout
This commit is contained in:
@ -18,6 +18,7 @@ function PostController:edit(...)
|
||||
else
|
||||
self.template:set("auth", false)
|
||||
end
|
||||
self:setLayout("admin")
|
||||
--self:redirect("/category/put/1")
|
||||
return true
|
||||
end
|
||||
|
Reference in New Issue
Block a user