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

Redirect helpers for routes and actions on component #140

faustbrian opened this issue Aug 7, 2019 · 1 comment


Copy link

commented Aug 7, 2019

It would be nice to have helpers for route and action redirects directly on the component instead of having to call the route or action helpers and pass them to the redirect method.

// Before
$this->redirect(route('dashboard.projects.edit', $project));

// After
$this->redirectToRoute('dashboard.projects.edit', $project);

See faustbrian@2bf40e5


This comment has been minimized.

Copy link

commented Aug 7, 2019

Yeah, I'm game. I'd probably rather: redirectRoute() though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.