diff --git a/app/controllers/movies_controller.rb b/app/controllers/movies_controller.rb index 3b969b4..8f2b634 100644 --- a/app/controllers/movies_controller.rb +++ b/app/controllers/movies_controller.rb @@ -1,7 +1,7 @@ class MoviesController < ApplicationController def index @choices, @movies = Movie.all, [] - (0..15).each{ |num| + (0..10).each{ |num| @movies.append(@choices.sample()) } end diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 5421bc4..9ac861f 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,7 +1,7 @@
-