You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently this has only url_for function. The old Slim-Views has 4 different helpers. A simple solution would be to add Slim\App as a global. It would look like this:
It's not as pretty as few selected helpers but the API is would same as in PHP code. Unfortunately it would also make it possible to include application logic into templates which may have unwanted side effects.
The text was updated successfully, but these errors were encountered:
Currently this has only
url_for
function. The old Slim-Views has 4 different helpers. A simple solution would be to addSlim\App
as a global. It would look like this:It's not as pretty as few selected helpers but the API is would same as in PHP code. Unfortunately it would also make it possible to include application logic into templates which may have unwanted side effects.
The text was updated successfully, but these errors were encountered: