3 4 5
# File 'app/controllers/videos_controller.rb', line 3 def index @videos = Video.most_recent.all end
7 8 9
# File 'app/controllers/videos_controller.rb', line 7 def show @video = Video.find(params[:id]) end