Updated the index view-name to viewName to avoid PHP notice. This is relevant to #3.