Removed unecessary weekly task templates.

This commit is contained in:
Benjamin Meichsner 2009-10-16 20:45:20 +02:00
parent f34c307540
commit d0e04a05ec
2 changed files with 4 additions and 42 deletions

View file

@ -12,12 +12,7 @@ class TasksController < ApplicationController
end
def new
if params[:id]
group = Workgroup.find(params[:id])
@task = group.tasks.build(group.task_attributes(group.next_weekly_tasks[params[:task_from_now].to_i]))
else
@task = Task.new
end
@task = Task.new
end
def create