Move all /item URLs to /crafting

This commit is contained in:
Andrew Miner
2015-02-07 12:37:44 -08:00
parent 4c5d1256bc
commit 0f73fc18a0
9 changed files with 49 additions and 48 deletions
@@ -1,5 +1,5 @@
###
Crafting Guide - item_page.coffee
Crafting Guide - crafting_page.coffee
Copyright (c) 2014-2015 by Redwood Labs
All rights reserved.
@@ -14,7 +14,7 @@ ModPack = require './mod_pack'
########################################################################################################################
module.exports = class ItemPage extends BaseModel
module.exports = class extends BaseModel
constructor: (attributes={}, options={})->
attributes.modPack ?= new ModPack
+1 -1
View File
@@ -169,7 +169,7 @@ module.exports = class Mod extends BaseModel
@_activeModVersion = modVersion
@trigger Event.change + ':activeModVersion', this, @_activeModVersion
logger.verbose "#{@name} switched to version #{@_activeVersion}"
logger.verbose "#{@slug} switched to version #{@_activeVersion}"
if @_activeModVersion?
@listenTo @_activeModVersion, 'all', -> @trigger.apply this, arguments