Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Open
docteurklein opened this Issue · 2 comments

2 participants

Florian Klein Konstantin Kudryashov
Florian Klein
Owner

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

Example: When I am in CheesesController::editAction:

result would be :

<head>
     <title>Edit Cheese ::Cheeses</title>
</head>
Konstantin Kudryashov

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

Florian Klein
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.