# encoding: UTF-8 # 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 resources :booking_templates do member do get :new_booking end end end