Feature/add composition section

Yo, so I've implemented before_filter (s) in each of my controller's that
have a create action, but I'm not sure how they work? Like, I don't
understand what I've written basically. Rails_Admin doesn't ask me to log
in each time I go to create a new project, should it?


On Sat, Jun 21, 2014 at 2:58 PM, Nicholas Hughes <notifications@github.com>
wrote:

> In app/controllers/production_controller.rb:
>
> > @@ -0,0 +1,14 @@
> > +class ProductionController < ApplicationController
> > +
> > +  def index
> > +    @albums = Album.all
> > +  end
> > +
> > +  def create
>
> I think this route is probably insecure because there's no authentication
> before filter. I think you probably want to restrict access to
> Production#create.
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/MichaelRyanHughes/portfolio/pull/2/files#r14051811>.
>



-- 
****************************************
*Michael Hughes*

*www.michaelhughesmakesmusic.com <http://www.michaelhughesmakesmusic.com>*
http://soundcloud.com/wittches