Commit 744b14a867fbc2ce55338b4a9cf6d0c6d9b28f43
1 parent
8fc70436
Exists in
master
and in
28 other branches
ActionItem0: removing unused stuff
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@344 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
11 deletions
Show diff stats
app/controllers/edit_template_controller.rb
| 1 | class EditTemplateController < ApplicationController | 1 | class EditTemplateController < ApplicationController |
| 2 | 2 | ||
| 3 | - design_editor :holder => 'virtual_community', :autosave => true, :block_types => :block_types, :block_helper_types => :block_helper_types | 3 | + design_editor :holder => 'virtual_community', :autosave => true, :block_types => :block_types |
| 4 | 4 | ||
| 5 | def block_types | 5 | def block_types |
| 6 | { | 6 | { |
| @@ -10,16 +10,6 @@ class EditTemplateController < ApplicationController | @@ -10,16 +10,6 @@ class EditTemplateController < ApplicationController | ||
| 10 | } | 10 | } |
| 11 | end | 11 | end |
| 12 | 12 | ||
| 13 | - # FIXME: is this really needed? Why should we let the user say how a | ||
| 14 | - # particular box must be displayed? IMO the box itself must have authority to | ||
| 15 | - # say how it wants to be drawn -- terceiro | ||
| 16 | - def block_helper_types | ||
| 17 | - { | ||
| 18 | - 'list_content' => _("Simple List Content"), | ||
| 19 | - 'plain_content' => _("Link Block"), | ||
| 20 | - } | ||
| 21 | - end | ||
| 22 | - | ||
| 23 | def index | 13 | def index |
| 24 | redirect_to :action => 'design_editor' | 14 | redirect_to :action => 'design_editor' |
| 25 | end | 15 | end |