goals {
goal "recapitulate how a HTTP request works"
goal "identify the router, models, controllers and views in the code"
}
steps do
step "MVC" do
discussion_box "What is this diagram?", <<-MARKDOWN
Talk through this diagram of the request cycle!
MARKDOWN
message "<img src='img/request-cycle.jpg'>"
end
step "find the router" do
message "hint: it's just one file, called routes.rb. Where is it stored?"
end
step "find the models" do
message "hint: it's a folder where all the models will go"
end
step "find the controllers" do
message "hint: it's a folder where all the controllers will go"
end
step "find the views" do
message "hint: it's a folder where all the views will go"
end
end
next_step "make_a_jobs_home_page"