Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix video

  • Loading branch information...
commit 7711d13e91f81098509384e6206ebb52c3ea3fdb 1 parent 5a009b3
@jodyalbritton authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/admin/videos_controller.rb
View
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)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.