Commit e36108f75ba1c7f00886092197500ffc2fa618cc

Authored by Dmitriy Zaporozhets
2 parents 38ae34a3 89c94290

Merge branch 'grammer_fix' into 'master'

Grammer Fix

Should read like:

```
Your project limit is 10 projects! Please contact your administrator to increase it
```
Instead of:

```
Your own projects limit is 10! Please contact administrator to increase it
```
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")