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
|
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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue