Rest scenario wasn't being used on a view