Skip to content

Commit

Permalink
Fix duplicate requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
melroy89 committed Oct 1, 2024
1 parent 2c2d0b5 commit 3687a2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/kbin_routes/entry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ entry_comment_image_delete:
entry_comment_voters:
controller: App\Controller\Entry\Comment\EntryCommentVotersController
defaults: { slug: -, }
requirements: { type: 'up' }
path: /m/{magazine_name}/t/{entry_id}/{slug}/comment/{comment_id}/votes/{type}
methods: [ GET ]
requirements:
type: 'up'
entry_id: \d+
comment_id: \d+

Expand Down Expand Up @@ -279,10 +279,10 @@ entry_pin:
entry_voters:
controller: App\Controller\Entry\EntryVotersController
defaults: { slug: -, sortBy: hot }
requirements: { type: 'up' }
path: /m/{magazine_name}/t/{entry_id}/{slug}/votes/{type}
methods: [ GET ]
requirements:
type: 'up'
entry_id: \d+

entry_fav:
Expand Down

0 comments on commit 3687a2c

Please sign in to comment.