app/controllers/tasks_controller.rb in bookyt_projects-0.2.0 vs app/controllers/tasks_controller.rb in bookyt_projects-0.2.1

- old
+ new

@@ -1,8 +1,16 @@ -class TasksController < AuthorizedController +class TasksController < AuthorizedController + + def new + @task = Task.new(:project_id => params[:project_id]) if params[:project_id] + @task.person = current_user.person if current_user + + new!{ projects_url(@task.project) } + end + end \ No newline at end of file