rio
rio copied to clipboard
Create a Class for Storing Guard Parameters
Guards are currently passed the current session, as well as a list of active pages. This differs from a lot of other, similar situations, where we pass classes storing all values. It's also a situation that can easily demand more values in the future, so wrapping everything in a class would definitely make sense here.