Answer the question
In order to leave comments, you need to log in
How to remove question mark at the end of url in Laravel?
I'm trying to link to a page:
<?php
echo link_to_route('posts', $title = 'Published', null,null);
echo link_to_route('posts.unpublished', $title = 'unPublished', null,null);
?>
Route::get('/', '[email protected]');
get('/',['as'=>'posts','uses'=>'[email protected]']);
get('unPublished',['as'=>'posts.unpublished','uses'=>'[email protected]']);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question