Skip to content

Conversation

@michapietsch
Copy link

The route() helper method accepts a third argument to generate relative URIs or else it will generate full absolute paths. I noticed this when I was running BrowserSync once and accessed a site via localhost:3000 and signed in there, but clicks on data grid result rows used the configured base url from Laravel Valet and so they took me to the login page there.

Since I think there should be no reason to insist on absolute paths I submit this PR to add that little bit of extra convenience when switching between local dev servers.

@drsii drsii requested a review from suwardany April 23, 2019 18:57
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