Use of "uses" in router of Laravel -
i have written , working.
route::get( 'users', [ 'uses' => 'userscontroller@index'] );
now removing "uses" , still working.
route::get( 'users', 'userscontroller@index' );
what requirement of "uses" here. pleas give view reference url.
Comments
Post a Comment