Fix bug where deep links don't compute

This commit is contained in:
Andrew Miner
2015-01-01 20:54:16 -08:00
parent 1434533e92
commit 3493c41b39
7 changed files with 20 additions and 23 deletions
+2 -2
View File
@@ -14,6 +14,6 @@ ModPack = require './mod_pack'
module.exports = class ItemPage extends BaseModel
constructor: (attributes={}, options={})->
attributes.catalog ?= new ModPack
attributes.table ?= new CraftingTable catalog:attributes.catalog
attributes.modPack ?= new ModPack
attributes.table ?= new CraftingTable modPack:attributes.modPack
super attributes, options