Skip to content
Browse files

fix video

  • Loading branch information...
1 parent 5a009b3 commit 7711d13e91f81098509384e6206ebb52c3ea3fdb @jodyalbritton committed Jul 20, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/admin/videos_controller.rb
2 app/controllers/admin/videos_controller.rb
@@ -59,6 +59,6 @@ def set_video
# Never trust parameters from the scary internet, only allow the white list through.
def video_params
- params.require(:video).permit(:link, :views, :description, :likes, :tag_list, :dislikes, :author, :title, :duration,:category, :category_name, :sponsor_name, :sponsor_id, :yt_updated_at, :published_at)
+ params.require(:video).permit(:link, :views, :description, :likes, :tag_list, :dislikes, :author, :title, :duration,:category, :category_name, :sponsor_name, :sponsored, :sponsor_id, :yt_updated_at, :published_at)

0 comments on commit 7711d13

Please sign in to comment.
Something went wrong with that request. Please try again.