Getting HTML from a Template2:19 with Jay McGavren
Ruby strings work okay for responding with short HTML snippets. But they're not going to work so well for full pages. That's why Sinatra has a feature that makes it easy to load text in from files: ERB templates. We can use an ERB template to generate our response to the browser.
You need to sign up for Treehouse in order to download course files.Sign up