'Create Document' pre-fills with current slug
Summary: Fixes T2667 The 'Create Document' link up in the application crumbs now prefills with the slug of the current document - if available, that is Test Plan: verified that nothing crashed, that the correct slug was pre-filled, and that pages could be created Reviewers: alexshtuk, epriestley CC: aran, Korvin Maniphest Tasks: T2667 Differential Revision: https://secure.phabricator.com/D5273
This commit is contained in:
committed by
epriestley
parent
90d0e8a322
commit
b42b1f6817
@@ -403,4 +403,8 @@ final class PhrictionDocumentController
|
||||
return $item;
|
||||
}
|
||||
|
||||
protected function getDocumentSlug() {
|
||||
return $this->slug;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user