Skip to content

Commit

Permalink
Add integer requirement to message route
Browse files Browse the repository at this point in the history
  • Loading branch information
melroy89 committed Oct 1, 2024
1 parent c1bab1a commit fb2afad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/kbin_routes/message.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ messages_single:
controller: App\Controller\Message\MessageThreadController
path: /profile/messages/{id}
methods: [ GET, POST ]
requirements:
id: \d+

messages_create:
controller: App\Controller\Message\MessageCreateThreadController
Expand Down

0 comments on commit fb2afad

Please sign in to comment.