Commit 7f148385d45ca99cd7cda9ca8c27f4bfde363543

Authored by Dmitriy Zaporozhets
2 parents c4ef7f06 e36108f7

Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/project.rb
@@ -240,7 +240,7 @@ class Project < ActiveRecord::Base @@ -240,7 +240,7 @@ class Project < ActiveRecord::Base
240 240
241 def check_limit 241 def check_limit
242 unless creator.can_create_project? 242 unless creator.can_create_project?
243 - errors[:limit_reached] << ("Your own projects limit is #{creator.projects_limit}! Please contact administrator to increase it") 243 + errors[:limit_reached] << ("Your project limit is #{creator.projects_limit} projects! Please contact your administrator to increase it")
244 end 244 end
245 rescue 245 rescue
246 errors[:base] << ("Can't check your ability to create project") 246 errors[:base] << ("Can't check your ability to create project")