Generalize URI pattern blacklist for Quicksand

Summary:
Fixes T7060. Removes some hard-coding.

This assumes that "pages with no durable column" and "pages with no Quicksand" are the same, but that's correct today and I can't come up with a use case where they'd be different offhand.

Test Plan:
  - Clicked a revision with column open, got Quicksand navigation.
  - Clicked into Conpherence with column open, got real navigation.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7060

Differential Revision: https://secure.phabricator.com/D12036
This commit is contained in:
epriestley
2015-03-10 15:32:15 -07:00
parent 4674a5eab9
commit 6fa507987d
7 changed files with 136 additions and 31 deletions

View File

@@ -185,6 +185,10 @@ abstract class PhabricatorApplication implements PhabricatorPolicyInterface {
return array();
}
public function getQuicksandURIPatternBlacklist() {
return array();
}
/* -( URI Routing )-------------------------------------------------------- */