Working on Leagues: Adding migrations, controllers, views

This commit is contained in:
Torsten 2017-09-08 16:22:40 +02:00
parent 50cc4c75bf
commit 7bfba61602
16 changed files with 8788 additions and 33 deletions

View file

@ -55,6 +55,7 @@ class RegistrationController extends Controller
$user->save();
auth()->login($user);
\App\Tipp::createAllTips();
// Redirect to the home page
return redirect()->home();

View file

@ -139,8 +139,6 @@ class RoundsController extends Controller
}
public function editname($round_id)
{
$round = Round::where('id', $round_id)->first();

View file

@ -346,7 +346,6 @@ class UsersController extends Controller
return ($rank1[1] < $rank2[1]);
}
public function show_payouts() {
$currentSeason = Season::getCurrent();