viewName is a property
Merge pull request #2422 from codegram/bug/viewname_is_a_property

viewName is a property