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.7.1 app/controllers/estimates_controller.rb
backlog-0.7.2 app/controllers/estimates_controller.rb