Skip to content

Instantly share code, notes, and snippets.

@francois
Created November 18, 2008 03:58
Show Gist options
  • Save francois/26044 to your computer and use it in GitHub Desktop.
Save francois/26044 to your computer and use it in GitHub Desktop.
class SplitsController < ApplicationController
def update
@split = Split.new(:account_ids => params[:account_id], :amounts => params[:amount], :family => current_family)
@split.save!
flash[:notice] = "#{transfers.length} transferts fûrent créés"
redirect_to bank_transactions_path
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment