Skip to content

Conversation

@JanTvrdik
Copy link
Contributor

@JanTvrdik JanTvrdik commented Nov 9, 2016

To alleviate the pain caused by 12ac75c I suggest adding optional parameter to UrlScript's constructor.

@JanTvrdik JanTvrdik force-pushed the pr/urlscript_constructor branch from 19846e7 to 6bd576d Compare November 9, 2016 15:11
@JanTvrdik JanTvrdik force-pushed the pr/urlscript_constructor branch from 6bd576d to 45e99cc Compare November 9, 2016 15:15
JanTvrdik referenced this pull request Nov 12, 2016
…al as the class Url (in method getBasePath, ...) [Closes #100]

(possible BC break)
@dg
Copy link
Member

dg commented Nov 13, 2016

Can you describe the pain?

@JanTvrdik
Copy link
Contributor Author

JanTvrdik commented Nov 14, 2016

@dg I had to replace all new UrlScript($url) with (new UrlScript($url))->setScriptPath('/'). This PR proposes to reduce the pain to new UrlScript($url, '/')

@JanTvrdik
Copy link
Contributor Author

ping

@dg dg merged commit 5647551 into nette:master Dec 3, 2016
@JanTvrdik JanTvrdik deleted the pr/urlscript_constructor branch December 3, 2016 23:39
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