Skip to content

Conversation

@mildabre
Copy link
Contributor

@mildabre mildabre commented Apr 5, 2023

Hi, presenter actually searches more files as templates than written in the documentation - see: https://github.com/nette/application/blob/master/src/Application/UI/Presenter.php#L514

First he searches files in /template directory insight directory with presenter class. After that he searches files in /template directory one level higher e.g. at the same level as directory with presenter class. This is very useful feature and many developers use this.

I propose to complete the description of the searching template files in the documentation.

Hi, presenter actually searches more files as templates than written in the documentation - see: https://github.com/nette/application/blob/master/src/Application/UI/Presenter.php#L514

First he searches files in /template directory insight directory with presenter class. After that he searches files in /template directory one level higher e.g. at the same level as directory with presenter class. This is very useful feature and many developers use this.

I propose to complete the description of the searching template files in the documentation.
@dg dg merged commit a85cde1 into nette:master Apr 7, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 18, 2023
dg pushed a commit that referenced this pull request Apr 18, 2023
dg pushed a commit that referenced this pull request Apr 18, 2023
dg pushed a commit that referenced this pull request Apr 25, 2023
dg pushed a commit that referenced this pull request Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants