Project default tags

This commit is contained in:
Eric Allen 2009-10-16 19:15:50 -04:00
parent e1079b4bc7
commit bfc6189611
6 changed files with 23 additions and 3 deletions

View file

@ -95,6 +95,7 @@ class TodosController < ApplicationController
@projects = current_user.projects.find(:all) if @new_project_created
@initial_context_name = params['default_context_name']
@initial_project_name = params['default_project_name']
@default_tags = @todo.project.default_tags unless @todo.project.nil?
render :action => 'create'
end
format.xml do