config/routes.rb in has_accounts_engine-3.0.0.beta13 vs config/routes.rb in has_accounts_engine-3.0.0.beta14
- old
+ new
@@ -2,41 +2,19 @@
# Routes
Rails.application.routes.draw do
# Bookings
resources :bookings do
- collection do
- post :select
- end
member do
- get :select_booking
get :copy
end
end
resources :accounts do
member do
get :csv_bookings
get :edit_bookings
post :update_bookings
- end
- resources :bookings
- resources :attachments
- end
-
- resources :banks do
- resources :phone_numbers
- member do
- get :new_phone_number
- end
- collection do
- get :new_phone_number
- end
- end
-
- resources :bank_accounts do
- member do
- get :csv_bookings
end
resources :bookings
resources :attachments
end