Week 6 Part 1

Thank you Brandon. I will effect the changes.

Sent wirelessly from my BlackBerry device on the Bell network.
Envoyé sans fil par mon terminal mobile BlackBerry sur le réseau de Bell.

-----Original Message-----
From: brandoncc <notifications@github.com>
Date: Thu, 26 Jun 2014 20:09:40 
To: easante/myflix<myflix@noreply.github.com>
Reply-To: easante/myflix <reply@reply.github.com>
Cc: Emmanuel Asante<emmanuela.asante@gmail.com>
Subject: Re: [myflix] Week 6 Part 1 (#7)

> @@ -0,0 +1,23 @@
> +class Admin::VideosController < Admin::BaseController
> +
> +  def new
> +    @video = Video.new
> +    @categories = Category.all
> +  end
> +
> +  def create
> +    @video = Video.new(video_params)
> +    if @video.save
> +      flash[:notice] = "Video has been created."
> +      redirect_to admin_add_video_path
> +    else
> +      flash[:alert] = "Video has not been created."

They also changed this class to `danger` instead of `alert`.

---
Reply to this email directly or view it on GitHub:
https://github.com/easante/myflix/pull/7/files#r14278214