Sha256: c77181b6cc540d54497bf5fd671a4fd373fb574b5fbc553aa0586895efd624bc

Contents?: true

Size: 318 Bytes

Versions: 42

Compression:

Stored size: 318 Bytes

Contents

class EstimatesController < ApplicationController
  
  def create
    if params[:id] && params[:estimate]
      @task = Task.find(params[:id])
      @task.estimate(params[:estimate][:todo], user)
      redirect_to :controller => 'periods', :action => :show, :id => @task.period, :task_id => @task.id
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
backlog-0.0.0 app/controllers/estimates_controller.rb
backlog-0.0.1 app/controllers/estimates_controller.rb
backlog-0.0.2 app/controllers/estimates_controller.rb
backlog-0.0.5 app/controllers/estimates_controller.rb
backlog-0.0.4 app/controllers/estimates_controller.rb
backlog-0.1.0 app/controllers/estimates_controller.rb
backlog-0.1.1 app/controllers/estimates_controller.rb
backlog-0.1.2 app/controllers/estimates_controller.rb
backlog-0.2.0 app/controllers/estimates_controller.rb
backlog-0.2.1 app/controllers/estimates_controller.rb
backlog-0.3.0 app/controllers/estimates_controller.rb
backlog-0.3.2 app/controllers/estimates_controller.rb
backlog-0.3.3 app/controllers/estimates_controller.rb
backlog-0.3.1 app/controllers/estimates_controller.rb
backlog-0.3.4 app/controllers/estimates_controller.rb
backlog-0.3.6 app/controllers/estimates_controller.rb
backlog-0.3.5 app/controllers/estimates_controller.rb
backlog-0.3.7 app/controllers/estimates_controller.rb
backlog-0.3.8 app/controllers/estimates_controller.rb
backlog-0.3.9 app/controllers/estimates_controller.rb