Page MenuHomePhabricator

Simplify some logic in project controllers
ClosedPublic

Authored by epriestley on Dec 27 2015, 11:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 10:47 AM
Unknown Object (File)
Thu, Dec 5, 10:12 AM
Unknown Object (File)
Tue, Dec 3, 5:05 PM
Unknown Object (File)
Mon, Dec 2, 10:40 PM
Unknown Object (File)
Thu, Nov 28, 10:09 PM
Unknown Object (File)
Wed, Nov 27, 6:31 AM
Unknown Object (File)
Tue, Nov 26, 10:23 PM
Unknown Object (File)
Sun, Nov 24, 7:47 PM
Subscribers
None

Details

Reviewers
chad
Maniphest Tasks
T10010: Implement Subprojects
Commits
Restricted Diffusion Commit
rP5e715c1acac0: Simplify some logic in project controllers
Summary

Ref T10010. Several controlers currently have similar logic for handling tags and slugs, loading projects, and canonicalizing URIs. Clean it up a bit.

Test Plan
  • Visited profile, boards, feed.
  • Visited by ID and by tag.
  • Visited by non-normal tag (redircted).
  • Visited by alternate tag (redirected).
  • Visited non-policy project by non-normal tag (redirected into policy error).

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Simplify some logic in project controllers.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
This revision is now accepted and ready to land.Dec 27 2015, 3:22 PM
This revision was automatically updated to reflect the committed changes.