Sha256: b21bc238de3c686e45aecd5e9ce6ad67deaa3a84d000f467183bec02fefcad5a

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookyt_projects-0.2.1 app/controllers/tasks_controller.rb