From 1a8d08a3629a4d3b1e284184d8eeadd3ea5b7095 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 8 Aug 2011 18:51:33 -0700 Subject: [PATCH] Hide sidebars when editing textile text --- app/controllers/my_profile/cms_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/my_profile/cms_controller.rb b/app/controllers/my_profile/cms_controller.rb index a7bfcf2..7433967 100644 --- a/app/controllers/my_profile/cms_controller.rb +++ b/app/controllers/my_profile/cms_controller.rb @@ -366,7 +366,7 @@ class CmsController < MyProfileController end def refuse_blocks - if ['TinyMceArticle', 'Event', 'EnterpriseHomepage'].include?(@type) + if ['TinyMceArticle', 'TextileArticle', 'Event', 'EnterpriseHomepage'].include?(@type) @no_design_blocks = true end end -- libgit2 0.21.2