Commit 1a8d08a3629a4d3b1e284184d8eeadd3ea5b7095
1 parent
20aabe0e
Exists in
master
and in
23 other branches
Hide sidebars when editing textile text
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/my_profile/cms_controller.rb
| @@ -366,7 +366,7 @@ class CmsController < MyProfileController | @@ -366,7 +366,7 @@ class CmsController < MyProfileController | ||
| 366 | end | 366 | end |
| 367 | 367 | ||
| 368 | def refuse_blocks | 368 | def refuse_blocks |
| 369 | - if ['TinyMceArticle', 'Event', 'EnterpriseHomepage'].include?(@type) | 369 | + if ['TinyMceArticle', 'TextileArticle', 'Event', 'EnterpriseHomepage'].include?(@type) |
| 370 | @no_design_blocks = true | 370 | @no_design_blocks = true |
| 371 | end | 371 | end |
| 372 | end | 372 | end |