Changeset View
Changeset View
Standalone View
Standalone View
src/applications/ponder/application/PhabricatorPonderApplication.php
Show All 28 Lines | final class PhabricatorPonderApplication extends PhabricatorApplication { | ||||
} | } | ||||
public function getRemarkupRules() { | public function getRemarkupRules() { | ||||
return array( | return array( | ||||
new PonderRemarkupRule(), | new PonderRemarkupRule(), | ||||
); | ); | ||||
} | } | ||||
public function supportsEmailIntegration() { | |||||
return true; | |||||
} | |||||
public function getAppEmailBlurb() { | |||||
return pht( | |||||
'Send email to these addresses to create questions. %s', | |||||
phutil_tag( | |||||
'a', | |||||
array( | |||||
'href' => $this->getInboundEmailSupportLink(), | |||||
), | |||||
pht('Learn More'))); | |||||
} | |||||
public function getRoutes() { | public function getRoutes() { | ||||
return array( | return array( | ||||
'/Q(?P<id>[1-9]\d*)' | '/Q(?P<id>[1-9]\d*)' | ||||
=> 'PonderQuestionViewController', | => 'PonderQuestionViewController', | ||||
'/ponder/' => array( | '/ponder/' => array( | ||||
'(?:query/(?P<queryKey>[^/]+)/)?' | '(?:query/(?P<queryKey>[^/]+)/)?' | ||||
=> 'PonderQuestionListController', | => 'PonderQuestionListController', | ||||
'answer/add/' | 'answer/add/' | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |