Closed aalfiann closed 5 years ago
I have expected that I could use @{config('name')}, but it doesn't work.
@{config('name')}
I know i could just put from controller.view('index',{config:F.config}), but I'm too lazy for this, because I have many routes.
controller.view('index',{config:F.config})
Is there another way?
Yes and you can't use config as a model:
config
So you can use: @{CONF.key} or @{'%key'}
I have expected that I could use
@{config('name')}
, but it doesn't work.I know i could just put from
controller.view('index',{config:F.config})
, but I'm too lazy for this, because I have many routes.Is there another way?