simple typo correction (#1486)

This commit is contained in:
Josh 2020-07-01 22:09:19 +10:00 committed by GitHub
parent f3cef3c398
commit 58d1602609
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -46,7 +46,6 @@ category: Rails
add_column :users, :first_name, :string add_column :users, :first_name, :string
remove_column :users, :first_name, :string remove_column :users, :first_name, :string
change_column :users, :first_name, :text
change_column :users, :first_name, :text change_column :users, :first_name, :text
change_column_default :users, :admin, nil change_column_default :users, :admin, nil

View File

@ -5,7 +5,7 @@ category: Rails
## Multiple resources (`resources`) ## Multiple resources (`resources`)
resources :books resources :photos
# PhotosController: # PhotosController:
# index => GET /photos # index => GET /photos
@ -17,9 +17,9 @@ category: Rails
# delete => DELETE /photos/:id # delete => DELETE /photos/:id
# #
# Helpers: # Helpers:
# new_book_path # new_photo_path
# book_path(id) # photo_path(id)
# edit_book_path(id) # edit_photo_path(id)
### Custom actions ### Custom actions