aboutsummaryrefslogtreecommitdiff
path: root/spec/fixtures/templates/layout.html.erb
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2013-09-03 08:45:55 +0200
committerGibheer <gibheer@gmail.com>2013-09-03 08:45:55 +0200
commita3caf9ac06a4b1aa87ada904ee7089f9976a69b7 (patch)
treef58aadbd2ae9b14b67dd9b8155fd2d2eeeb41745 /spec/fixtures/templates/layout.html.erb
parent603dce8628246a17009c3a5f30cb57e21b146672 (diff)
add partial render method
This enables the user to render partial templates to embed them into other templates and the like.
Diffstat (limited to 'spec/fixtures/templates/layout.html.erb')
-rw-r--r--spec/fixtures/templates/layout.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/fixtures/templates/layout.html.erb b/spec/fixtures/templates/layout.html.erb
new file mode 100644
index 0000000..ffa0acd
--- /dev/null
+++ b/spec/fixtures/templates/layout.html.erb
@@ -0,0 +1,3 @@
+layoutfile
+
+<%= yield %>