Fix expose for two different view functions but with the same URL does not keep the last one bug