Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

Allow missing routes (App::missing()) #41

Merged
merged 3 commits into from
Aug 3, 2014

Conversation

rickywiens
Copy link

Change it so if the route returned by the $router->current function is null, we just return empty vars from the currentRoute function. In my testing this works fine when we are using it for a 404 page handled by laravels App::missing functionality, and the unit tests all pass.

If there is anything you'd like to change let me know.

This is for the issue I created here #40

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.05%) when pulling 37b7316 on rickywiens:allowMissingRoutes into 822d63c on davejamesmiller:master.

@d13r d13r changed the title Allow missing routes Allow missing routes (App::missing()) Aug 3, 2014
@d13r d13r added the bug label Aug 3, 2014
d13r added a commit that referenced this pull request Aug 3, 2014
@d13r d13r merged commit 2d9a588 into d13r:master Aug 3, 2014
@d13r
Copy link
Owner

d13r commented Aug 3, 2014

Released in 2.2.2, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants