From f2eab8daf36f3bf992f87f620eda760e3f5e78b3 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Sat, 6 Aug 2016 02:29:24 -0500 Subject: [PATCH] Allow linking locations and items to universes --- app/models/item.rb | 2 +- app/models/location.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/item.rb b/app/models/item.rb index 008fd382..7248ee1f 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -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', diff --git a/app/models/location.rb b/app/models/location.rb index 0629c16e..79f62712 100644 --- a/app/models/location.rb +++ b/app/models/location.rb @@ -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: {