Provide factory for resource route