Skip to content

Commit

Permalink
Minor bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
schof committed Feb 21, 2009
1 parent 3e5b60b commit 93f1a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/creditcards_controller.rb
Expand Up @@ -33,7 +33,7 @@ def update
@creditcard_presenter = CreditcardPresenter.new(params[:creditcard_presenter])
@creditcard.address.destroy
@creditcard.address = @creditcard_presenter.address
@creditcard.save
@creditcard.address.save

flash[:notice] = t("credit_card_updated")
redirect_to object_url
Expand Down

0 comments on commit 93f1a81

Please sign in to comment.