Skip to content

Commit

Permalink
remove abilaty to see photo comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lodewiges committed Oct 28, 2024
1 parent cfb8428 commit ca35468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/photo-comments/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ApplicationRoute } from 'amber-ui/routes/application/application';
import { AuthenticatedRoute } from 'amber-ui/routes/application/application';

export default class PhotoCommentsIndexRoute extends ApplicationRoute {
export default class PhotoCommentsIndexRoute extends AuthenticatedRoute {
canAccess() {
return this.abilities.can('show photo-comments');
}
Expand Down

0 comments on commit ca35468

Please sign in to comment.