Make viewLocator accept options hash instead of params