allReady
allReady copied to clipboard
Issue branch 340
Hello, I want to tackle the Controller names magic strings issue.
I found 3 use cases:
- Need the name from the context of the Controller itself
- Need the name for another Controller from the context of a Controller
- Need the name for a Controller from a general context
Case 3 is covered by the ControllerNames.NameOf and cases 1. and 2. are using it and are just convenience methods to use from the context of a controller
Hrm....I want to discuss this with a few regulars on the team.
IMO, if we're going to try to tackle the magic names on controllers, why don't we just instead drop the Controller suffix? We inherit from Controller anyway, and our controllers all live in a /Controllers folder. Maybe we don't need the extra chars?