mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Remove siblings from Character
This commit is contained in:
parent
4761f2ddb2
commit
395fc83b89
@ -16,6 +16,7 @@ class CharactersController < ContentController
|
||||
:mannerisms, :birthday, :birthplace, :education, :background,
|
||||
:fave_color, :fave_food, :fave_possession, :fave_weapon, :fave_animal,
|
||||
:father, :mother, :spouse, :siblings, :archenemy, :notes, :private_notes
|
||||
# TODO: remove :siblings if needed / nested attributes
|
||||
]
|
||||
end
|
||||
end
|
||||
|
||||
@ -52,6 +52,7 @@ class Character < ActiveRecord::Base
|
||||
relations: {
|
||||
icon: 'face',
|
||||
attributes: %w(mother father spouse siblings archenemy)
|
||||
# TODO: recognize siblings is association
|
||||
},
|
||||
notes: {
|
||||
icon: 'edit',
|
||||
|
||||
@ -47,7 +47,6 @@ ActiveRecord::Schema.define(version: 20160405035806) do
|
||||
t.text "father"
|
||||
t.text "mother"
|
||||
t.text "spouse"
|
||||
t.text "siblings"
|
||||
t.text "archenemy"
|
||||
t.text "notes"
|
||||
t.text "private_notes"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user