fix appframework routing

@karlitschek a issue I detected while dog-fooding this weekend - appframework port left-over - THX

@Raydiation @bantu