Skip to content

Commit

Permalink
fix a bug in append
Browse files Browse the repository at this point in the history
  • Loading branch information
dstywho committed Dec 9, 2011
1 parent 3f9b7b4 commit 87d4859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/pairs_controller.rb
Expand Up @@ -8,7 +8,7 @@ def grow_a
def append def append
params[:pair] ||= {} params[:pair] ||= {}
params[:pair][:key] ||= params[:key] params[:pair][:key] ||= params[:key]
params[:pair][:value] ||= params[:key] params[:pair][:value] ||= params[:value]
create create
end end


Expand Down

0 comments on commit 87d4859

Please sign in to comment.