Sha256: 8c28e7b4ffce7e298ea6ce3f33d30ede1a4d3f8c312c368de262e37d13a2220b

Contents?: true

Size: 805 Bytes

Versions: 11

Compression:

Stored size: 805 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

  resources :booking_templates do
    member do
      get :new_booking
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
has_accounts_engine-3.0.0.beta7 config/routes.rb
has_accounts_engine-3.0.0.beta6 config/routes.rb
has_accounts_engine-3.0.0.beta5 config/routes.rb
has_accounts_engine-3.0.0.beta4 config/routes.rb
has_accounts_engine-3.0.0.beta3 config/routes.rb
has_accounts_engine-3.0.0.beta2 config/routes.rb
has_accounts_engine-3.0.0.beta1 config/routes.rb
has_accounts_engine-3.0.0.beta0 config/routes.rb
has_accounts_engine-2.0.1 config/routes.rb
has_accounts_engine-2.0.0 config/routes.rb
has_accounts_engine-1.1.2 config/routes.rb