config/routes.rb in iugusdk-1.0.0.alpha.18 vs config/routes.rb in iugusdk-1.0.0.alpha.19

- old
+ new

@@ -5,16 +5,19 @@ constraints(IuguSDK::RootTenancyUrl) do get "settings" => "iugu/settings#index", :as => "settings" get "settings/accounts" => "iugu/account#index", :as => "account_settings" + get 'settings/account/(:id)/plans' => 'iugu/plan#index', :as => 'plan_index' + 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" 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" get "settings/account/:account_id/user/:user_id" => "iugu/account_users#view", :as => "account_users_view" 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"