Delegate #to_param to #resouce