[templating] auto create a default title from routing info. #17

docteurklein opened this Issue Nov 9, 2012 · 2 comments

3 participants

KNP Labs member

This way, we could have kindof a breadcrumb in browser toolbar.

Example: When I am in CheesesController::editAction:

result would be :

     <title>Edit Cheese ::Cheeses</title>

I though about putting route info into defaults in routing loader for that.

KNP Labs member

Yes. something like that, and then use app.request.attributes in the base layout to display them in the title block.

At least more useful than the sooo usual "Welcome!" on all the website.

@Einenlum Einenlum closed this Jun 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment