diff options
author | Gibheer <gibheer@gmail.com> | 2013-09-03 08:45:55 +0200 |
---|---|---|
committer | Gibheer <gibheer@gmail.com> | 2013-09-03 08:45:55 +0200 |
commit | a3caf9ac06a4b1aa87ada904ee7089f9976a69b7 (patch) | |
tree | f58aadbd2ae9b14b67dd9b8155fd2d2eeeb41745 /spec/fixtures | |
parent | 603dce8628246a17009c3a5f30cb57e21b146672 (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')
-rw-r--r-- | spec/fixtures/templates/layout.html.erb | 3 |
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 %> |