Sha256: b8878b463c36a9df4308710ca9f4ce07b31c5605121529c4697c5c392fe86a0d

Contents?: true

Size: 719 Bytes

Versions: 9

Compression:

Stored size: 719 Bytes

Contents

# encoding: UTF-8

# Routes
Rails.application.routes.draw do
  # Bookings
  resources :bookings do
    collection do
      post :select
      get :simple_edit
    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
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
has_accounts_engine-1.1.1 config/routes.rb
has_accounts_engine-1.1.0 config/routes.rb
has_accounts_engine-1.0.4 config/routes.rb
has_accounts_engine-1.0.3 config/routes.rb
has_accounts_engine-1.0.2 config/routes.rb
has_accounts_engine-1.0.1 config/routes.rb
has_accounts_engine-1.0.0 config/routes.rb
has_accounts-0.20.1 config/routes.rb
has_accounts-0.20.0 config/routes.rb