User rails resources method for routes