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

@ -53,6 +53,7 @@ class ProjectsController < ApplicationController
@down_count = @count + @deferred.size
@next_project = current_user.projects.next_from(@project)
@previous_project = current_user.projects.previous_from(@project)
@default_tags = @project.default_tags
respond_to do |format|
format.html
format.m &render_project_mobile

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