[email protected]
1 year ago

Optimize static page routes and views

Posted 1 year ago by [email protected]

I would like to optimize my code. At the moment I have a route with about 20 static pages and a PageController that will handle each one of them. It seems too "lame" and I'm looking for a solution to optimize it, at least the controller. I went into "view exists" direction but didn't come up with something smart.

Please sign in or create an account to participate in this conversation.