app/helpers/estimation_items_helper.rb
# == Schema Information
#
# Table name: estimation_items
#
# id :integer not null, primary key
# value :integer default(0)
# title :string
# estimation_id :integer
# created_at :datetime not null
# updated_at :datetime not null
# fixed :boolean default(FALSE), not null
# quantity :integer default(1), not null
# actual_value :float
#
# Indexes
#
# index_estimation_items_on_estimation_id (estimation_id)
#
module EstimationItemsHelper
def xeditable? estimation_item = nil
# policy(estimation_item.estimation).update?
true
end
end