Implementing page-specific titles in Phoenix

That sounds interesting and I’d gladly see some more code samples of such architecture (the menu building code and how you actually pass title into the template).

Although putting view-oriented code into the router sounds weird to me, it may make sense to break out of the MVC bounds in more complicated projects. I remember coding (in Rails) a multi-module application with complicated menu structure that changed during navigation and I was struggling so hard to find a fitting place in the MVC to place that damn menu building code :slight_smile: