From 8f02baee42809b574cbef17827a861bbd2654e2e Mon Sep 17 00:00:00 2001 From: Dean Radcliffe Date: Sun, 4 Jan 2009 12:17:54 -0600 Subject: [PATCH] added parameter to after_add callback --- app/models/match.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/match.rb b/app/models/match.rb index f82ce53..8fffaec 100755 --- a/app/models/match.rb +++ b/app/models/match.rb @@ -40,7 +40,7 @@ def board( ) # as_of_move = nil @board end - def return_board() @board end + def return_board(m=nil) @board end #TODO return the notation of the moves for a match in a two-column format #TODO allow names to be given to matches