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