Continued building CRUD actions, stuck on getting an item to delete.

Yeah, I was going to work on that. Ideally, none of the indexes would be
visible, which is why I left the policy declared as false. Which, according
to the Bloccit checkpoint, meant that no user would be able to see the
index? It works for the items index, but not the lists index.


On Mon, Jun 16, 2014 at 11:26 PM, agoldman <notifications@github.com> wrote:

> In app/controllers/lists_controller.rb:
>
> > @@ -1,14 +1,18 @@
> >  class ListsController < ApplicationController
> >    def index
> >      @lists = List.all
> > +    authorize @lists
>
> We might want to make this accessible only to admin users, which would
> mean adding roles to the user class.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/maureena/blocitoff/pull/3/files#r13844640>.
>