Fix for cases where a controller does not have a view callback