From 0ab9e1e99be7a4d4c8b847fbb7bf3cc596cda587 Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Mon, 11 Nov 2013 13:10:02 -0300 Subject: [PATCH] Put content in a partial --- app/views/layouts/_content.html.erb | 4 ++++ app/views/layouts/application-ng.html.erb | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 app/views/layouts/_content.html.erb diff --git a/app/views/layouts/_content.html.erb b/app/views/layouts/_content.html.erb new file mode 100644 index 0000000..e0fdaa2 --- /dev/null +++ b/app/views/layouts/_content.html.erb @@ -0,0 +1,4 @@ +
+ <%= insert_boxes(yield) %> +
+
diff --git a/app/views/layouts/application-ng.html.erb b/app/views/layouts/application-ng.html.erb index b724adf..754d78f 100644 --- a/app/views/layouts/application-ng.html.erb +++ b/app/views/layouts/application-ng.html.erb @@ -72,10 +72,7 @@
-
- <%= insert_boxes(yield) %> -
-
+ <%= render 'layouts/content' %>
-- libgit2 0.21.2