From ee41e5ff771f6b878a6db5923ff64905845037d6 Mon Sep 17 00:00:00 2001 From: LeandroNunes Date: Fri, 26 Oct 2007 13:54:49 +0000 Subject: [PATCH] ActionItem19: fixing some little bugs to design plugin works --- app/controllers/environment_admin/edit_template_controller.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/controllers/environment_admin/edit_template_controller.rb b/app/controllers/environment_admin/edit_template_controller.rb index 5c3091d..88e4611 100644 --- a/app/controllers/environment_admin/edit_template_controller.rb +++ b/app/controllers/environment_admin/edit_template_controller.rb @@ -1,12 +1,13 @@ class EditTemplateController < EnvironmentAdminController design_editor :holder => 'environment', :autosave => true, :block_types => :block_types - + + #FIXME This is wrong + #See the FavoriteLinksController considerations and choose the better way def block_types - { - 'ListBlock' => _("List Block"), - 'LinkBlock' => _("Link Block"), - } + %w[ + FavoriteLinks + ] end def index -- libgit2 0.21.2