app/controllers/iugu/account_roles_controller.rb in iugusdk-1.0.0.alpha.5 vs app/controllers/iugu/account_roles_controller.rb in iugusdk-1.0.0.alpha.7
- old
+ new
@@ -9,9 +9,9 @@
def update
@account = current_user.accounts.find(params[:id])
@account_user = @account.account_users.find_by_user_id(params[:user_id])
@account_user.set_roles(params[:roles])
- redirect_to account_users_index_path(@account.id), :notice => I18n.t("iugu.notices.roles_changed")
+ redirect_to account_users_index_path(@account), :notice => I18n.t("iugu.notices.roles_changed")
end
end