Differential D19660 Diff 46998 src/applications/phriction/application/PhabricatorPhrictionApplication.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phriction/application/PhabricatorPhrictionApplication.php
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | return array( | ||||
'delete/(?P<id>[1-9]\d*)/' => 'PhrictionDeleteController', | 'delete/(?P<id>[1-9]\d*)/' => 'PhrictionDeleteController', | ||||
'publish/(?P<documentID>[1-9]\d*)/(?P<contentID>[1-9]\d*)/' | 'publish/(?P<documentID>[1-9]\d*)/(?P<contentID>[1-9]\d*)/' | ||||
=> 'PhrictionPublishController', | => 'PhrictionPublishController', | ||||
'new/' => 'PhrictionNewController', | 'new/' => 'PhrictionNewController', | ||||
'move/(?P<id>[1-9]\d*)/' => 'PhrictionMoveController', | 'move/(?P<id>[1-9]\d*)/' => 'PhrictionMoveController', | ||||
'preview/(?P<slug>.*/)' => 'PhrictionMarkupPreviewController', | 'preview/(?P<slug>.*/)' => 'PhrictionMarkupPreviewController', | ||||
'diff/(?P<id>[1-9]\d*)/' => 'PhrictionDiffController', | 'diff/(?P<id>[1-9]\d*)/' => 'PhrictionDiffController', | ||||
$this->getEditRoutePattern('document/edit/') | |||||
=> 'PhrictionEditEngineController', | |||||
), | ), | ||||
); | ); | ||||
} | } | ||||
public function getApplicationOrder() { | public function getApplicationOrder() { | ||||
return 0.140; | return 0.140; | ||||
} | } | ||||
public function getApplicationSearchDocumentTypes() { | public function getApplicationSearchDocumentTypes() { | ||||
return array( | return array( | ||||
PhrictionDocumentPHIDType::TYPECONST, | PhrictionDocumentPHIDType::TYPECONST, | ||||
); | ); | ||||
} | } | ||||
} | } |