From a2a70ba1ef7d9e779b6bc33e9f886414cb6436c4 Mon Sep 17 00:00:00 2001 From: Tianyi Wang Date: Sun, 10 Oct 2021 15:32:00 +0000 Subject: [PATCH] part 3 complete --- app/controllers/movies_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/movies_controller.rb b/app/controllers/movies_controller.rb index 8eff4d7..f503ab7 100644 --- a/app/controllers/movies_controller.rb +++ b/app/controllers/movies_controller.rb @@ -14,7 +14,7 @@ def index end @all_ratings = Movie.all_ratings - @ratings_to_show = [] + @ratings_to_show = @all_ratings @sort_by = "" redirect = false