added access to route def in function route
removed extra stuff
removed test for 0.8
Merge pull request #2 from saadtazi/add_route_def_access_in_function_route

Add route def access in function route