Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @if($worldCup->rounds->count() == 0)
- <a type="button" style="margin-right: 3px;" class="btn btn-xs btn-info" href="{{action('WorldCupsController@resort_stage_1' ,$worldCup->id)}}"><i class="fa fa-connectdevelop"></i> Shuffle</a>
- public function resort_stage_1(WorldCup $worldCup)
- {
- $worldCup->load('teams');
- return view('wc.admin.resort_stage_1',compact('worldCup'));
- }
- Route::get( 'wc/{worldCups}/resort_stage_1',
- ['as' => 'admin.wc.resort.get',
- 'uses' => 'WorldCupsController@resort_stage_1']);
- Route::get('wc/{worldCup}/resort_stage_1','WorldCupsController@resort_stage_1')
- ->name('admin.wc.resort.get');
Add Comment
Please, Sign In to add comment