From 1b164847078204fe99a17c7f36771b37638ba679 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Tue, 31 Jul 2007 13:20:49 +0000 Subject: [PATCH] r271@sede: terceiro | 2007-07-29 23:53:49 -0300 ActionItem0: sending index to design_editor --- app/controllers/edit_template_controller.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/controllers/edit_template_controller.rb b/app/controllers/edit_template_controller.rb index dd18744..acebef3 100644 --- a/app/controllers/edit_template_controller.rb +++ b/app/controllers/edit_template_controller.rb @@ -1,6 +1,10 @@ class EditTemplateController < ApplicationController - uses_flexible_template :edit => true, :owner => 'owner' + design_editor :holder => 'virtual_community', :autosave => true + + def index + redirect_to :action => 'design_editor' + end FLEXIBLE_TEMPLATE_AVAILABLE_BLOCKS = { 'ListBlock' => _("List Block"), -- libgit2 0.21.2