mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
16 lines
637 B
Ruby
16 lines
637 B
Ruby
# Controller for the Character model
|
|
class CharactersController < ContentController
|
|
private
|
|
|
|
def content_params
|
|
params.require(:character).permit(
|
|
:universe_id, :user_id,
|
|
:name, :age, :role, :gender, :age, :height, :weight, :haircolor,
|
|
:facialhair, :eyecolor, :race, :skintone, :bodytype, :identmarks,
|
|
:bestfriend, :religion, :politics, :prejudices, :occupation, :pets,
|
|
:mannerisms, :birthday, :birthplace, :education, :background,
|
|
:fave_color, :fave_food, :fave_possession, :fave_weapon, :fave_animal,
|
|
:father, :mother, :spouse, :siblings, :archenemy, :notes, :private_notes)
|
|
end
|
|
end
|