Merge pull request #2988 from Asquera/error_project_limit
API: creating last project before limit returns 404
This commit is contained in:
commit
b7ac654b88
2 changed files with 21 additions and 1 deletions
|
@ -146,7 +146,7 @@ class Project < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def saved?
|
||||
id && valid?
|
||||
id && persisted?
|
||||
end
|
||||
|
||||
def import?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue