Remove raise. Refs #207

This commit is contained in:
Pavel Chipiga 2012-02-21 23:43:06 +02:00 committed by Vladimir Sharshov
parent 600df031f5
commit 7c273c022b
1 changed files with 0 additions and 1 deletions

View File

@ -121,7 +121,6 @@ class PlatformsController < ApplicationController
flash[:notice] = I18n.t("flash.platform.clone_success")
redirect_to @cloned
else
raise @cloned.repositories.first.inspect
flash[:error] = @cloned.errors.full_messages.join('. ')
render 'clone'
end