Skip to content
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

Adding support for controller input and method in an array with the n… #1730

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

azakhozhiy
Copy link

…ame of the route

@xwiz
Copy link
Contributor

xwiz commented Jun 19, 2020

@azakhozhy Would be great if you can summarize the background/aim of this PR in description.

Also avoid changing the spacing style in code comments/documentation..

@@ -341,6 +341,14 @@ public function addRoute($methods, $uri, $action)
$action = implode('@', $action);
$action = ['uses' => $action, 'controller' => $action];
}

// For named routes and syntax:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't $action already be changed by the above ? So it won't be the same as in the routes file anymore ?

@specialtactics
Copy link
Member

Sorry I just realised I wrote a review but didn't submit it 🤦

@xwiz
Copy link
Contributor

xwiz commented Sep 12, 2021

Sorry I just realised I wrote a review but didn't submit it 🤦

Lol, happens to me too, I think GitHub should have a prompt to submit before you leave the page..

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.

3 participants