Skip to content

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Skiff committed Sep 9, 2011
1 parent 10fcf43 commit 0412b59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/videos_controller.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def callback
video.framey_name = name video.framey_name = name
video.framey_video_url = video_url video.framey_video_url = video_url
video.framey_thumbnail_url = thumbnail_url video.framey_thumbnail_url = thumbnail_url
video.is_published = true video.published = true
video.save video.save
end end


Expand Down
2 changes: 1 addition & 1 deletion app/controllers/welcome_controller.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class WelcomeController < ApplicationController
# GET / # GET /
def index def index
@video_uid = UUID.generate @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


end end

0 comments on commit 0412b59

Please sign in to comment.