simple typo correction (#1486)
This commit is contained in:
parent
f3cef3c398
commit
58d1602609
|
@ -46,7 +46,6 @@ category: Rails
|
|||
add_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_default :users, :admin, nil
|
||||
|
|
|
@ -5,7 +5,7 @@ category: Rails
|
|||
|
||||
## Multiple resources (`resources`)
|
||||
|
||||
resources :books
|
||||
resources :photos
|
||||
|
||||
# PhotosController:
|
||||
# index => GET /photos
|
||||
|
@ -17,9 +17,9 @@ category: Rails
|
|||
# delete => DELETE /photos/:id
|
||||
#
|
||||
# Helpers:
|
||||
# new_book_path
|
||||
# book_path(id)
|
||||
# edit_book_path(id)
|
||||
# new_photo_path
|
||||
# photo_path(id)
|
||||
# edit_photo_path(id)
|
||||
|
||||
### Custom actions
|
||||
|
||||
|
|
Loading…
Reference in New Issue