Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[#2410][#2615] s/model/viewModel/

- per @Akrabat
  • Loading branch information...
commit 07f20f886f90cb2105dc6a7c25f801f06b36788f 1 parent b8b2ddc
@weierophinney weierophinney authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -44,10 +44,10 @@ class SomeController extends AbstractActionController
public function apiAction()
{
- $model = $this->acceptableViewModelSelector($this->acceptCriteria);
+ $viewModel = $this->acceptableViewModelSelector($this->acceptCriteria);
// Potentially vary execution based on model returned
- if ($model instanceof JsonModel) {
+ if ($viewModel instanceof JsonModel) {
// ...
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.