Skip to content

[5.0] Allow to use $router in routes file #3221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2015
Merged

[5.0] Allow to use $router in routes file #3221

merged 1 commit into from
Jan 22, 2015

Conversation

billmn
Copy link
Contributor

@billmn billmn commented Jan 21, 2015

This allow to use:

$router->get(...);
$router->post(...);
...

In routes.php file

@martinbean
Copy link
Contributor

+1

Was going to re-add this myself until I found this Pull Request.

@GrahamCampbell
Copy link
Member

👍

@billmn billmn changed the title Allow to use $router in routes file [5.0] Allow to use $router in routes file Jan 22, 2015
@billmn billmn closed this Jan 22, 2015
@billmn billmn reopened this Jan 22, 2015
taylorotwell added a commit that referenced this pull request Jan 22, 2015
[5.0] Allow to use $router in routes file
@taylorotwell taylorotwell merged commit 86b0ae0 into laravel:develop Jan 22, 2015
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.

4 participants