config/routes.rb in iugusdk-1.0.0.alpha.25 vs config/routes.rb in iugusdk-1.0.0.alpha.26
- old
+ new
@@ -20,9 +20,10 @@
post "settings/account" => "iugu/account#create", :as => "account_create"
get "settings/account/:account_id/payment_history" => "iugu/account#payment_history", :as => "account_payment_history"
get "settings/account/:account_id/users" => "iugu/account_users#index", :as => "account_users_index"
get "settings/account/:account_id/user/:user_id" => "iugu/account_users#view", :as => "account_users_view"
+ put "settings/account/:account_id/user/:user_id" => "iugu/account_users#transfer_ownership", :as => "account_users_transfer_ownership"
delete "settings/account/:account_id/user/:user_id" => "iugu/account_users#destroy", :as => "account_users_destroy"
delete "settings/account/:account_id/user/:user_id/cancel" => "iugu/account_users#cancel_destruction", :as => "account_users_cancel_destruction"
get "settings/account/:account_id/domains" => "iugu/account_domains#index", :as => "account_domains_index"
post '/settings/account/:account_id/domain' => 'iugu/account_domains#create', :as => 'create_domain'