Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2013-02-25 09:40:59 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2013-02-25 09:40:59 (GMT)
commita5e35540bb05710c3a44deaad5332eb9b4b1f0c8 (patch)
tree989c8daa3f88cab266ecefc1dbafbe641a04e862
parente4d07f1fdc0d760bb71848e27606dedefae9de6f (diff)
Remove needless git.* verificaion
-rw-r--r--app/models/site.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/site.rb b/app/models/site.rb
index 414c160..9ca57ab 100644
--- a/app/models/site.rb
+++ b/app/models/site.rb
@@ -19,7 +19,7 @@ class Site < ActiveRecord::Base
has_many :projects
validates_presence_of :title
- HTTP_CLONING_SUBDOMAIN = 'git'
+ HTTP_CLONING_SUBDOMAIN = 'src'
validates_exclusion_of :subdomain, :in => [HTTP_CLONING_SUBDOMAIN]
attr_protected :subdomain