OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54fb0f8
)
fix project limit
author
Valery Sizov
<vsv2711@gmail.com>
Mon, 19 Dec 2011 22:07:05 +0000
(
00:07
+0200)
committer
Valery Sizov
<vsv2711@gmail.com>
Mon, 19 Dec 2011 22:07:05 +0000
(
00:07
+0200)
app/models/user.rb
patch
|
blob
|
history
diff --git
a/app/models/user.rb
b/app/models/user.rb
index
de0bb63
..
cc2e5fc
100644
(file)
--- a/
app/models/user.rb
+++ b/
app/models/user.rb
@@
-47,7
+47,7
@@
class User < ActiveRecord::Base
end
def can_create_project?
- projects_limit >
=
my_own_projects.count
+ projects_limit > my_own_projects.count
end
def last_activity_project