From a3caf9ac06a4b1aa87ada904ee7089f9976a69b7 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Tue, 3 Sep 2013 08:45:55 +0200 Subject: add partial render method This enables the user to render partial templates to embed them into other templates and the like. --- spec/fixtures/templates/layout.html.erb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 spec/fixtures/templates/layout.html.erb (limited to 'spec/fixtures/templates') 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 %> -- cgit v1.2.3-70-g09d2