File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
webapp/src/Controller/Team Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function __construct(
33
33
#[Route(path: '/scoreboard ' , name: 'team_scoreboard ' )]
34
34
public function scoreboardAction (Request $ request ): Response
35
35
{
36
- if ($ this ->config ->get ('enable_ranking ' )) {
36
+ if (! $ this ->config ->get ('enable_ranking ' )) {
37
37
throw new BadRequestHttpException ('Scoreboard is not available. ' );
38
38
}
39
39
@@ -56,7 +56,7 @@ public function scoreboardAction(Request $request): Response
56
56
#[Route(path: '/team/{teamId<\d+>} ' , name: 'team_team ' )]
57
57
public function teamAction (Request $ request , int $ teamId ): Response
58
58
{
59
- if ($ this ->config ->get ('enable_ranking ' )) {
59
+ if (! $ this ->config ->get ('enable_ranking ' )) {
60
60
throw new BadRequestHttpException ('Scoreboard is not available. ' );
61
61
}
62
62
You can’t perform that action at this time.
0 commit comments