Method: Eboshi::WorksController#merge

Defined in:
app/controllers/eboshi/works_controller.rb

#mergeObject



55
56
57
58
59
# File 'app/controllers/eboshi/works_controller.rb', line 55

def merge
  @work = Work.merge_from_ids params[:line_item_ids]
  @invoice = @work.invoice || @client.build_invoice_from_unbilled
  render @work
end