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