Allow linking locations and items to universes

This commit is contained in:
Andrew Brown 2016-08-06 02:29:24 -05:00
parent e571b2e50f
commit f2eab8daf3
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class Item < ActiveRecord::Base
{
general_information: {
icon: 'info',
attributes: %w(name item_type description universe),
attributes: %w(name item_type description universe_id),
},
appearance: {
icon: 'face',

View File

@ -27,7 +27,7 @@ class Location < ActiveRecord::Base
{
general_information: {
icon: 'info',
attributes: %w(name type_of description universe),
attributes: %w(name type_of description universe_id),
},
#todo map
culture: {