- added to FunctionBase: bool register_default_models (default true)
if true then winix will add default models for ezc templates such as "request", "item", etc. - some methods from templates/item.cpp moved to Item
This commit is contained in:
@@ -67,12 +67,6 @@ void Cat::MakeGet()
|
||||
}
|
||||
|
||||
cur->request->send_as_attachment = cur->request->IsParam(L"attachment");
|
||||
|
||||
|
||||
// IMPROVEME this will be put by a generic method from winix
|
||||
// if output is html
|
||||
cur->request->models.Add(L"item", cur->request->item);
|
||||
////////////////////////////////////////////////////////////
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user