Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phame/application/PhabricatorPhameApplication.php
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | public function getBlogRoutes() { | ||||
return $this->getLiveRoutes(); | return $this->getLiveRoutes(); | ||||
} | } | ||||
private function getLiveRoutes() { | private function getLiveRoutes() { | ||||
return array( | return array( | ||||
'/' => array( | '/' => array( | ||||
'' => 'PhameBlogViewController', | '' => 'PhameBlogViewController', | ||||
'post/(?P<id>\d+)/(?:(?P<slug>[^/]+)/)?' => 'PhamePostViewController', | 'post/(?P<id>\d+)/(?:(?P<slug>[^/]+)/)?' => 'PhamePostViewController', | ||||
'.*' => 'PhameBlog404Controller', | |||||
), | ), | ||||
); | ); | ||||
} | } | ||||
public function getQuicksandURIPatternBlacklist() { | public function getQuicksandURIPatternBlacklist() { | ||||
return array( | return array( | ||||
'/phame/live/.*', | '/phame/live/.*', | ||||
Show All 20 Lines |