angular.module( 'gj.Key' ).factory( 'Key', function( Model )
{
	function Key( data )
	{
		if ( data ) {
			angular.extend( this, data );
		}
	}

	Key.prototype.url = function() {
		return "/claim/" + this.key;
	}

	Key.prototype.$remove = function( status )
	{
		return this.$_remove( '/web/dash/developer/sellables/key-groups/remove-key/' + this.resource_id + '/' + this.sellable_key_group_id + '/' + this.id );
	};

	return Model.create( Key );
} );

angular.module( 'gj.Key' ).factory( 'Key', function( Model )
{
	function Key( data )
	{
		if ( data ) {
			angular.extend( this, data );
		}
	}

	Key.prototype.$remove = function()
	{
		return this.$_remove( '/web/dash/developer/games/keys/remove/' + this.id );
	};

	return Model.create( Key );
} );

Add correct $remove function to Key model.
Add correct $remove function to Key model.
