Sha256: 7a59563adb0f965deeabb5b457f949a579b62f20955c154e09c960dee00a4638
Contents?: true
Size: 358 Bytes
Versions: 10
Compression:
Stored size: 358 Bytes
Contents
class EstimatesController < ApplicationController verify :method => :post, :redirect_to => '' def create if params[:id] && params[:estimate] @task = Task.find(params[:id]) @task.estimate(params[:estimate][:todo]) redirect_to :controller => 'periods', :action => :show, :id => @task.period, :task_id => @task.id end end end
Version data entries
10 entries across 10 versions & 1 rubygems