Sha256: 9684986e29985e1e915de85c42104b48abd89dd7775f8193d04f98b224d464b6

Contents?: true

Size: 450 Bytes

Versions: 5

Compression:

Stored size: 450 Bytes

Contents

Bank::Application.routes.draw do
  get "accounts/:id/withdraw" => "accounts#withdraw_form", :as => :account_withdraw_form
  post "accounts/:id/withdraw" => "accounts#withdraw", :as => :account_withdraw
  
  get "accounts/:id/deposit" => "accounts#deposit_form", :as => :account_deposit_form
  post "accounts/:id/deposit" => "accounts#deposit", :as => :account_deposit

  resources :transfers, only: %w[new create]

  root :to => "accounts#index"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
command_model-2.0.1 examples/bank/config/routes.rb
command_model-2.0.0 examples/bank/config/routes.rb
command_model-1.3.0 examples/bank/config/routes.rb
command_model-1.2.0 examples/bank/config/routes.rb
command_model-1.1.0 examples/bank/config/routes.rb