Ziggy v0.4.0 & v0.4.1 returns an object instead of string
See original GitHub issueI tried Ziggy in Laravel 5.5 and it is returning an object instead of the full URL of the route like so
route('admin.articles.index')
// laravel 5.4 returns
"http://blog.dev/admin/articles"
// laravel 5.5 returns
{
"name": "admin.articles.index",
"urlParams": {},
"queryParams": {},
"absolute": true,
"domain": "http://blog.dev/",
"url": "admin/articles"
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:32 (9 by maintainers)
Top Results From Across the Web
Ziggy v0.4.0 & v0.4.1 returns an object instead of string #69
I tried Ziggy in Laravel 5.5 and it is returning an object instead of the full URL of the route like so route('admin.articles.index') ......
Read more >tightenco/ziggy - Packagist
Generates a Blade directive exporting all of your named Laravel routes. Also provides a nice route() helper function in JavaScript.
Read more >@livechat/chat.io-customer-sdk - npm
We authenticate your sessions by using chat.io-customer-auth package and expose the created auth object on the returned SDK's instance.
Read more >[ROM][4.1.2] █║ Axis (SDS) ¯`•._ AxisM ... - XDA Forums
Anyway to have the double button press to be reactivated? It is nulled and nothing appears when doing so? Neither can I find...
Read more >jVr - River Thames Conditions - Environment Agency - GOV.UK
Motojima, Pacific wave roof color, Leipzig messestadt, Cheap day return bedford to ... American fork canyon open 2012, Viens chez moi kendji, Vo...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@AidasK What about
route('index').toString()? Does it return any thing?Yes, it returns my route url. This is the solution I am currently using, but it’s not short enough.