temp
This commit is contained in:
parent
4f29a63296
commit
9458d18792
|
@ -7,7 +7,7 @@ class Platform < ActiveRecord::Base
|
|||
validates :unixname, :uniqueness => true, :presence => true, :format => { :with => /^[a-zA-Z0-9\-.]+$/ }, :allow_nil => false, :allow_blank => false
|
||||
|
||||
before_create :xml_rpc_create
|
||||
before_destroy :xml_rpc_destroy
|
||||
#before_destroy :xml_rpc_destroy
|
||||
before_update :check_freezing
|
||||
|
||||
|
||||
|
|
|
@ -9,9 +9,9 @@ class Project < ActiveRecord::Base
|
|||
|
||||
scope :recent, order("name ASC")
|
||||
|
||||
#before_create :create_directory, :create_git_repo
|
||||
before_create :xml_rpc_create
|
||||
before_destroy :xml_rpc_destroy
|
||||
before_create :create_directory, :create_git_repo
|
||||
#before_destroy :xml_rpc_destroy
|
||||
|
||||
# Redefining a method from Project::HasRepository module to reflect current situation
|
||||
def git_repo_path
|
||||
|
|
|
@ -8,7 +8,7 @@ class Repository < ActiveRecord::Base
|
|||
scope :recent, order("name ASC")
|
||||
|
||||
before_create :xml_rpc_create
|
||||
before_destroy :xml_rpc_destroy
|
||||
#before_destroy :xml_rpc_destroy
|
||||
|
||||
def path
|
||||
build_path(unixname)
|
||||
|
|
Loading…
Reference in New Issue