blob: 593e27031f93166f8c98c4e7169cef05a5f2195c [file] [log] [blame]
#--######################################################################
# Copyright (c) 2006 Logica
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
#
# Onno van der Straaten:: initial implementation
#++######################################################################
# {Copyright (c) 2006 Logica}[link:files/COPYRIGHT.html]
class BaselineProcessVersion < Version
belongs_to :baseline_process, :foreign_key => 'baseline_process_id'
validates_presence_of :baseline_process
def path
return self.baseline_process.path + '/' + self.page.rel_path
end
end