Refactored rails routes to be more intuitive