Last active
August 29, 2015 14:02
-
-
Save icemancast/3e99f2098ef4bbc5b5b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= link_to 'Deposit', new_transaction_path(type: 'deposit') %> | |
# routes | |
get 'transactions/new/:type' => 'transactions#new' | |
resources :transactions | |
transactions GET /transactions(.:format) transactions#index | |
POST /transactions(.:format) transactions#create | |
new_transaction GET /transactions/new(.:format) transactions#new | |
edit_transaction GET /transactions/:id/edit(.:format) transactions#edit | |
transaction GET /transactions/:id(.:format) transactions#show | |
PATCH /transactions/:id(.:format) transactions#update | |
PUT /transactions/:id(.:format) transactions#update | |
DELETE /transactions/:id(.:format) transactions#destroy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment