config/routes.rb in iugusdk-1.0.0.alpha.21 vs config/routes.rb in iugusdk-1.0.0.alpha.22
- old
+ new
@@ -11,9 +11,12 @@
post 'settings/account/(:id)/change_plan' => 'iugu/plan#change', :as => 'plan_change'
get "settings/account/(:id)" => "iugu/account#view", :as => "account_view"
delete "settings/account/(:id)" => "iugu/account#destroy", :as => "account_destroy"
delete "settings/account/(:id)/cancel" => "iugu/account#cancel_destruction", :as => "account_cancel_destruction"
post "settings/account/(:account_id)/generate_new_token" => "iugu/account#generate_new_token", :as => "account_generate_new_token"
+ post "settings/account/(:account_id)/activate" => "iugu/account#activate", :as => "account_activate"
+ post "settings/account/(:account_id)/suspend" => "iugu/account#suspend", :as => "account_suspend"
+ delete "settings/account/(:account_id)/remove_token/:token" => "iugu/account#remove_token", :as => "account_remove_token"
put "settings/account/(:id)" => "iugu/account#update", :as => "account_update"
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"