Compare commits
No commits in common. "efb6d26a55aa228e7f9a3785bca6dd795161cc15" and "e30c570643d4a836e8740883e2923f0c192a21ca" have entirely different histories.
efb6d26a55
...
e30c570643
@ -1,8 +1,9 @@
|
||||
class MoviesController < ApplicationController
|
||||
def index
|
||||
@choices, @movies = ["Iron Man", "Batman", "Forrest Gump"], []
|
||||
@movies = ["Iron Man", "Batman"]
|
||||
(0..15).each{ |num|
|
||||
@movies.append(@choices.sample())
|
||||
@movies.append(num.odd? ? "Batman" : "Iron Man")
|
||||
@movies.append("Forrest Gump")
|
||||
}
|
||||
end
|
||||
end
|
||||
|
@ -7,7 +7,6 @@
|
||||
<%= csp_meta_tag %>
|
||||
|
||||
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
||||
<%= stylesheet_link_tag "application", "https://cdn.jsdelivr.net/npm/bootstrap/dist/css/bootstrap.min.css" %>
|
||||
<%= javascript_importmap_tags %>
|
||||
</head>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user