Stability improvement

This commit is contained in:
uran 2014-08-28 19:57:39 +03:00 committed by yglukhov
parent fe104386b1
commit 19109a9458
1 changed files with 3 additions and 1 deletions

View File

@ -234,7 +234,9 @@ module ProjectsHelper
def hidden_pass_url(original_url)
result = URI(original_url)
result.password = '*****' if result.password.present?
result.password = '*****' unless result.password.nil?
result
rescue
original_url
end
end