[refact] simplifying resources_for method