dimanche 29 juillet 2018

How to achieve this route?

I'm trying to achieve the route " /stock//quantity ". So i have created a folder named "quantity" inside resources/views/stocks/ . And i have also created an index.blade.php file inside quantity.

" /stock/ "shows the details of the stock i.e "show.blade.php"

Inside "show.blade.php" i have placed the link to my quantity page. Given Below is the code.

<a href="/stocks//quantity">Quantity</a>

But its not working. Am i doing correct?

I did add Route::resource('quanity', 'QuanityController'); to web.php Please help someone!



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Al8TzJ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire