Skip to content

Comments

Delay url pattern loading#3

Open
xdissent wants to merge 3 commits intonewsapps:masterfrom
xdissent:delay-urls
Open

Delay url pattern loading#3
xdissent wants to merge 3 commits intonewsapps:masterfrom
xdissent:delay-urls

Conversation

@xdissent
Copy link
Contributor

I needed to do some on-the-fly route creation based on values returned by one of my models. The url patterns were loaded before the theme's models are available however. I've removed the url loading completely from wp-plugin.php and now mtv\run() handles compiling the urls. It simplifies some code and provides a chance for multiple mtv apps to register routes as well.

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.

1 participant