Skip to content

Add trailing slash if missing in setTemplatePath() too#32

Merged
akrabat merged 1 commit into
slimphp:masterfrom
vlakoff:templatePath
Oct 11, 2016
Merged

Add trailing slash if missing in setTemplatePath() too#32
akrabat merged 1 commit into
slimphp:masterfrom
vlakoff:templatePath

Conversation

@vlakoff

@vlakoff vlakoff commented Aug 18, 2016

Copy link
Copy Markdown
Contributor

Noticed #27 and #28 just after I have encountered and fixed the issue on a fresh app.
Nevertheless here is my version, simpler and addresses the issue in the setter as well.

By the way, could a new version be tagged for Packagist?

@akrabat akrabat merged commit 122ed12 into slimphp:master Oct 11, 2016
@akrabat akrabat added this to the 2.2 milestone Oct 11, 2016
@akrabat akrabat changed the title Add leading slash if missing in setTemplatePath() too Improve code to add leading slash if missing in setTemplatePath() too Oct 11, 2016
@akrabat akrabat changed the title Improve code to add leading slash if missing in setTemplatePath() too Add leading slash if missing in setTemplatePath() too Oct 11, 2016
@vlakoff

vlakoff commented Oct 11, 2016

Copy link
Copy Markdown
Contributor Author

I did a mistake in the title, it's a trailing slash.

@akrabat

akrabat commented Oct 11, 2016

Copy link
Copy Markdown
Member

So it is! :)

@akrabat akrabat changed the title Add leading slash if missing in setTemplatePath() too Add trailing slash if missing in setTemplatePath() too Oct 11, 2016
@vlakoff vlakoff deleted the templatePath branch October 12, 2016 07:45
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