Fix a bug introduced in #2710 where values could no longer be injected in views.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Passing exactly two parameters to a where should always use = operator.
Fix typo.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Merge pull request #2844 from bencorlett/bugfix/view-injection

Fix a bug introduced in #2710 where values could no longer be injected in views
Use ternary short-cut.
Refactoring view stuff.
Fix command bug.
Fix conflicts.
Fix bug in place-holder replacement.
Fix variable typo in Collection

Signed-off-by: Gergely Tarjan <mail@malakai.hu>
Merge pull request #2847 from tlgreg/fix_collection_typo

Fix variable typo in Collection
Fix route match.