Skip to content

Commit

Permalink
fix(embed): make embed route pattern greedy
Browse files Browse the repository at this point in the history
Makes embed route regex pattern greedy to allow other plugins
register routes within /embed path
  • Loading branch information
hypeJunction committed Mar 8, 2018
1 parent 72e4b9d commit 4346ea9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mod/embed/elgg-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
'default:embed' => [
'path' => '/embed/{tab?}',
'resource' => 'embed/embed',
'requirements' => [
'tab' => '\w+',
],
],
],
];

0 comments on commit 4346ea9

Please sign in to comment.