Created
November 18, 2008 03:58
-
-
Save francois/26044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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