Support the ongoing development of Laravel.io →
Views Blade Forms
Last updated 2 years ago.
0
Solution

As you can see here: http://laravel.com/docs/4.2/helpers#urls

link_to_route works in this way:

link_to_route('articles.edit', 'Edit this post', ["article"=>$article->id]);

I don't know in laravel 5, however I don't think you should use route helper inside link_to_route helper

Last updated 9 years ago.
0

Thank you very much that clears things up and works perfectly.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

dbassassin dbassassin Joined 18 Jun 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.