# Advent of Code, Day 7: Figure out routes

- Link: https://cagrimmett.com/2019/12/07/advent-day-7/
- Published: 2019-12-07T18:10:00-05:00
- Author: Chuck Grimmett

Day 7! Today I’m traveling, but I got some work done on the plane: I figured out
my routes and started breaking apart components to their individual functions.

My routes:

    ```highlight
    Router.map(function() {   this.route('login');   this.route('signup');   this.route('gardens', function() {     this.route('edit', { path: ':slug' });     this.route('new');   });   this.route('public-profile', { path: ':user_slug' }, function() {     this.route('garden', { path: ':garden_slug' });   }); }); 
    ```

#### Tomorrow’s goal:

 * Finish breaking the components apart
 * Get the new routes working
