Commit 1b164847078204fe99a17c7f36771b37638ba679

Authored by AntonioTerceiro
1 parent 3dd95c76

r271@sede: terceiro | 2007-07-29 23:53:49 -0300

ActionItem0: sending index to design_editor
 


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@275 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 5 additions and 1 deletions   Show diff stats
app/controllers/edit_template_controller.rb
1 1 class EditTemplateController < ApplicationController
2 2  
3   - uses_flexible_template :edit => true, :owner => 'owner'
  3 + design_editor :holder => 'virtual_community', :autosave => true
  4 +
  5 + def index
  6 + redirect_to :action => 'design_editor'
  7 + end
4 8  
5 9 FLEXIBLE_TEMPLATE_AVAILABLE_BLOCKS = {
6 10 'ListBlock' => _("List Block"),
... ...