restore handling exception for project creation

This commit is contained in:
Dmitriy Zaporozhets 2013-02-12 10:41:21 +02:00
parent d138b3de4b
commit 644f8819af

View file

@ -49,8 +49,8 @@ module Projects
end
@project
#rescue => ex
#@project.errors.add(:base, "Can't save project. Please try again later")
rescue => ex
@project.errors.add(:base, "Can't save project. Please try again later")
@project
end