Update Rails routes to define api scope