Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/application/PhabricatorPhameApplication.php
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | '/phame/' => array( | ||||
'(?:query/(?P<queryKey>[^/]+)/)?' => 'PhameBlogListController', | '(?:query/(?P<queryKey>[^/]+)/)?' => 'PhameBlogListController', | ||||
'archive/(?P<id>[^/]+)/' => 'PhameBlogArchiveController', | 'archive/(?P<id>[^/]+)/' => 'PhameBlogArchiveController', | ||||
$this->getEditRoutePattern('edit/') | $this->getEditRoutePattern('edit/') | ||||
=> 'PhameBlogEditController', | => 'PhameBlogEditController', | ||||
'view/(?P<blogID>\d+)/' => 'PhameBlogViewController', | 'view/(?P<blogID>\d+)/' => 'PhameBlogViewController', | ||||
'manage/(?P<id>[^/]+)/' => 'PhameBlogManageController', | 'manage/(?P<id>[^/]+)/' => 'PhameBlogManageController', | ||||
'feed/(?P<id>[^/]+)/' => 'PhameBlogFeedController', | 'feed/(?P<id>[^/]+)/' => 'PhameBlogFeedController', | ||||
'picture/(?P<id>[1-9]\d*)/' => 'PhameBlogProfilePictureController', | 'picture/(?P<id>[1-9]\d*)/' => 'PhameBlogProfilePictureController', | ||||
'header/(?P<id>[1-9]\d*)/' => 'PhameBlogHeaderPictureController', | |||||
), | ), | ||||
) + $this->getResourceSubroutes(), | ) + $this->getResourceSubroutes(), | ||||
); | ); | ||||
} | } | ||||
public function getResourceRoutes() { | public function getResourceRoutes() { | ||||
return array( | return array( | ||||
'/phame/' => $this->getResourceSubroutes(), | '/phame/' => $this->getResourceSubroutes(), | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |