Move all /item URLs to /crafting
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user