Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Add @template annotation to facilitate route definition #36

@mysticfall

Description

@mysticfall

Previously, there was PageController which can be used in conjunction with RouteProvider to easily declare template URL to be used for each controller instance.

However, as we replaced that trait with the recent constructor based DI implementation, we need another method to provide the functionality now.

We could use something like @template("/templates/edit.html") and probably, @title("Page Title") as well to facilitate defining routes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions