Sha256: 28f8c92ed6c511ddc648c9508e37fbb301daec042e16a5310a528ef5a5b27d71

Contents?: true

Size: 568 Bytes

Versions: 1

Compression:

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

  get "accounts/transfer" => "accounts#transfer_form", :as => :account_transfer_form
  post "accounts/transfer" => "accounts#transfer", :as => :account_transfer
  
  root :to => "accounts#index"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
command_model-1.0.0 examples/bank/config/routes.rb