merge views with routes