Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
docteurklein opened this Issue · 2 comments

3 participants

@docteurklein
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>
@everzet

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

@docteurklein
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.

@Einenlum Einenlum closed this
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.