fixed/fluid layout switch

This commit is contained in:
Dmitriy Zaporozhets 2011-11-04 00:37:02 +02:00
parent 3ba392b3cb
commit a9639776d7
8 changed files with 47 additions and 32 deletions

View file

@ -9,7 +9,7 @@
= javascript_tag do
REQ_URI = "#{request.env["REQUEST_URI"]}";
REQ_REFFER = "#{request.env["HTTP_REFERER"]}";
%body{ :class => content_for?(:body_class) ? yield(:body_class) : 'project-page', :id => yield(:boyd_id)}
%body{ :class => body_class('project-page'), :id => yield(:boyd_id)}
#container
= render :partial => "layouts/flash"
= render :partial => "layouts/head_panel"