From 744b14a867fbc2ce55338b4a9cf6d0c6d9b28f43 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Thu, 16 Aug 2007 18:20:24 +0000 Subject: [PATCH] ActionItem0: removing unused stuff --- app/controllers/edit_template_controller.rb | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/app/controllers/edit_template_controller.rb b/app/controllers/edit_template_controller.rb index 047d057..e19447d 100644 --- a/app/controllers/edit_template_controller.rb +++ b/app/controllers/edit_template_controller.rb @@ -1,6 +1,6 @@ class EditTemplateController < ApplicationController - design_editor :holder => 'virtual_community', :autosave => true, :block_types => :block_types, :block_helper_types => :block_helper_types + design_editor :holder => 'virtual_community', :autosave => true, :block_types => :block_types def block_types { @@ -10,16 +10,6 @@ class EditTemplateController < ApplicationController } end - # FIXME: is this really needed? Why should we let the user say how a - # particular box must be displayed? IMO the box itself must have authority to - # say how it wants to be drawn -- terceiro - def block_helper_types - { - 'list_content' => _("Simple List Content"), - 'plain_content' => _("Link Block"), - } - end - def index redirect_to :action => 'design_editor' end -- libgit2 0.21.2