mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Make Phriction previews of the root document work correctly
Summary: Fixes T11146. Allow no slug in the URI. Test Plan: Previewed root document in Phriction. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11146 Differential Revision: https://secure.phabricator.com/D16257
This commit is contained in:
parent
1c088822b4
commit
dabafda042
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ final class PhabricatorPhrictionApplication extends PhabricatorApplication {
|
|||
'new/' => 'PhrictionNewController',
|
||||
'move/(?P<id>[1-9]\d*)/' => 'PhrictionMoveController',
|
||||
|
||||
'preview/(?P<slug>.+/)' => 'PhrictionMarkupPreviewController',
|
||||
'preview/(?P<slug>.*/)' => 'PhrictionMarkupPreviewController',
|
||||
'diff/(?P<id>[1-9]\d*)/' => 'PhrictionDiffController',
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue