I'm new to Laravel. I have a route defined in routes.php
Route::get('article/{id}/{slug}', array('uses' => '....', 'as' => '.....'));
How can I get it using route()
? I'm trying this, but failed.
<a href="{{ route('article', $article->id, $article->slug) }}">