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

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -