aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-02-03 21:28:34 +0100
committerTeddy Wing2017-02-03 21:28:34 +0100
commit6592859bc9fb7531b8831bbba3535a7f333a14bd (patch)
treeb3c2fa0851a2eb99a5ded363ba4b9f9a7c47adb8
parent75c818e34328b38fdd7fd143b17663c00846cc80 (diff)
downloadAngular-tutorial-6592859bc9fb7531b8831bbba3535a7f333a14bd.tar.bz2
application.html.erb: Add `hello` component
Include a new `<hello/>` component on the page. We haven't written it yet, but this will be where it gets rendered on the page.
-rw-r--r--app/views/layouts/application.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 53c091b..0625ef8 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -9,6 +9,8 @@
</head>
<body>
+ <hello></hello>
+
<%= yield %>
</body>
</html>