set Rails routes, correct navigation between different types of goals