From e562ee9ee80776161550c5b5e9143583deb813a0 Mon Sep 17 00:00:00 2001 From: Daniel Collis-Puro Date: Thu, 25 Jun 2009 15:52:34 -0400 Subject: [PATCH] fix "add under this tag" feature --- app/controllers/tags_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index 27ae294..d339168 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb @@ -32,7 +32,7 @@ def index end def new - @tag = Tag.new + @tag = Tag.new(:parent_id => params[:parent_id]) render :template => 'tags/edit' and return end