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