Shallow-Nesting

Hi Oliver,

Here is one of the 2 extra projects for the "destroy" project.

-Jen
Hi Oliver,
I'm going to have to cancel our meeting today, I have an emergency plumbing
situation I have to deal with at home.

See you tomorrow,

Jen

On Fri, Oct 24, 2014 at 7:45 AM, Oliver Azevedo Barnes <
notifications@github.com> wrote:

> In config/routes.rb:
>
> > @@ -5,10 +5,12 @@
> >    devise_for :users
> >      resources :users, only: [:update]
> >
> > -resources :topics do
> > -    resources :posts, except: [:index] do
> > -      resources :comments, only: [:create, :destroy]
> > -    end
> > +  resources :topics do
> > +    resources :posts, except: [:index]
>
> if you add shallow: true, you don't need to set the top level posts
> resource below, like we discussed at the last session
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jenhaines/bloccit-jh/pull/3/files#r19342486>.
>