From 6f5e2c2cdcbdb9ea4aca71f0bde2a935d979da3f Mon Sep 17 00:00:00 2001 From: jessib Date: Tue, 6 Aug 2013 14:21:08 -0700 Subject: Some more tweaks to have billing code work, and allow admins to view but not edit for other users. --- billing/app/views/credit_card_info/edit.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'billing/app/views/credit_card_info') diff --git a/billing/app/views/credit_card_info/edit.html.haml b/billing/app/views/credit_card_info/edit.html.haml index 39269ca..bd86a4c 100644 --- a/billing/app/views/credit_card_info/edit.html.haml +++ b/billing/app/views/credit_card_info/edit.html.haml @@ -14,4 +14,4 @@ %dd= f.text_field :cvv = hidden_field_tag :tr_data, @tr_data = f.submit 'Save Payment Info', :class => :btn - = link_to t(:cancel), edit_customer_path(@credit_card.customer_id), :class => :btn + = link_to t(:cancel), edit_customer_path(@user.id), :class => :btn -- cgit v1.2.3