laravel 4 - Maximum function nesting level of '100' reached, aborting! Route Model Binding -
my route file
route::model('rank', 'rank'); route::resource('rank', 'adminrankcontroller');
my controller file
public function show($rank) { return $rank; }
this give me error symfony \ component \ debug \ exception \ fatalerrorexception maximum function nesting level of '100' reached, aborting!
any appreciated . earlier working . composer update ruined all.
please note if change
route::model('ranks', 'rank');
it working no database query runs fetch corresponding row
Comments
Post a Comment