Support the ongoing development of Laravel.io →
arafatx

arafatx

Joined 16 Aug 2015

Statistics

Threads 2
Replies 10
Solutions 0
Articles 0

What is the different between Route::model() and Route::resource()

In Route model, I can use something like this: Route::model('tasks', 'App\Task'); and in Route resou...

0 Likes
2 Replies
Solved

what is the correct way to display data from second table in blade during editing profile.

In my route.php I defined the route resource: Route::group(['middleware' => 'role:admin|staff|ret...

0 Likes
3 Replies
Solved
replied 10 years ago

what is the correct way to display data from second table in blade during editing profile.

Aha.. Thanks guys. Im actually new to laravel. I was having multiple queries at some other pages (wi...

0 Likes
replied 10 years ago

How to have a cancel button on edit page that works after validation errors

You need to use javascript to redirect. This doesn't work on mine too. Anyone?

0 Likes
replied 10 years ago

Foreign key not saving in migration

Spent about half and hour. Running out of time! Thanks for the solution hehe.

0 Likes
replied 10 years ago

[Laravel 5] Eloquent relationships returning class not found

I'm having the same problem.. I already have my namespace App; declared on top of the Model. I hear...

0 Likes
replied 10 years ago

Automatically append query to model

Why Global Scope? Is it better to use Query Scope in this case? I'm a bit confused, when do we need...

0 Likes

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.

© 2026 Laravel.io - All rights reserved.