Skip to content

Commit

Permalink
Page should only be reachable if SHOW_ALERTS feature flag is true.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhochbaum-dcp committed Sep 26, 2024
1 parent 08dc1be commit 27a258f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Router.map(function() { // eslint-disable-line
this.route('show-project', { path: '/projects/:id' });
this.route('show-geography', { path: '/projects' });
this.route('disclaimer');
this.route('statuses');
config.showAlerts && this.route('statuses');

Check failure on line 31 in client/app/router.js

View workflow job for this annotation

GitHub Actions / Tests

Expected an assignment or function call and instead saw an expression
this.route('not-found', { path: '/*path' });
this.route('oops');
this.route('my-projects', function() {
Expand Down

0 comments on commit 27a258f

Please sign in to comment.