Page MenuHomePhabricator

Simplify some logic in project controllers
ClosedPublic

Authored by epriestley on Dec 27 2015, 11:03 AM.
Tags
None
Referenced Files
F15338032: D14890.id35987.diff
Sun, Mar 9, 8:57 AM
Unknown Object (File)
Mon, Feb 24, 4:46 PM
Unknown Object (File)
Wed, Feb 19, 3:32 PM
Unknown Object (File)
Sun, Feb 16, 10:06 PM
Unknown Object (File)
Tue, Feb 11, 10:40 PM
Unknown Object (File)
Feb 9 2025, 12:17 AM
Unknown Object (File)
Feb 5 2025, 3:35 AM
Unknown Object (File)
Jan 28 2025, 12:35 AM
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.