Skip to content

Commit

Permalink
Use erb template for admin layout, ruby template is making problems w…
Browse files Browse the repository at this point in the history
…ith axlsx
  • Loading branch information
miks committed Jan 21, 2015
1 parent 2f3e94e commit 80248ab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Expand Up @@ -3,7 +3,7 @@ class Releaf::Builders::Page::LayoutBuilder
include Releaf::Builders::Template

def output(&block)
doctype << tag(:html) do
doctype.html_safe << tag(:html) do
head << body{ yield }
end
end
Expand Down
1 change: 1 addition & 0 deletions releaf-core/app/views/layouts/releaf/admin.html.erb
@@ -0,0 +1 @@
<%= Releaf.layout_builder.new(self).output{ yield }.html_safe %>
1 change: 0 additions & 1 deletion releaf-core/app/views/layouts/releaf/admin.ruby

This file was deleted.

0 comments on commit 80248ab

Please sign in to comment.