VIEW constant was removed in CakePHP 2
Merge pull request #1268 from Schlaefer/patch-1

replaces VIEW constant which was removed in CakePHP 2