Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

typo fixes

  • Loading branch information...
commit 0412b59933af81ae11ea0e233aa629fcdedbb47b 1 parent 10fcf43
Eric Skiff authored
View
2  app/controllers/videos_controller.rb
@@ -94,7 +94,7 @@ def callback
video.framey_name = name
video.framey_video_url = video_url
video.framey_thumbnail_url = thumbnail_url
- video.is_published = true
+ video.published = true
video.save
end
View
2  app/controllers/welcome_controller.rb
@@ -2,7 +2,7 @@ class WelcomeController < ApplicationController
# GET /
def index
@video_uid = UUID.generate
- @videos = Video.published.paginate :page => (params[:page] || 1) , :order => 'created_at DESC', :per_page => 4
+ @videos = Video.is_published.paginate :page => (params[:page] || 1) , :order => 'created_at DESC', :per_page => 4
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.