dzsozef13 / Bottomshelf

Cocktail recipe and image sharing platform.
0 stars 0 forks source link

Can use router arguments to configure views #28

Closed dzsozef13 closed 1 year ago

dzsozef13 commented 1 year ago

I would call it a workaround, but sessions are now used to store properties of views where we need to display a specific collection or a single post by filters or IDs.

Session properties should be set via the PageController by looking through the passed arguments from the router. Session properties should be access in the views via a SessionController instance and its get methods.