Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-07-26 21:27:42 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-07-27 19:52:45 +0300
commitea4d6c87d73301ade3e49f8f865eb448ecc8a569 (patch)
tree2148ac9290b91b7fa0594b101f6a05f7893eafc3 /app/views/projects/update.js.haml
parent6dfaf4fe547104a553522a1904a321dd6d015a09 (diff)
Fix Project#to_param to keep invalid project suitable for use in URLs
Diffstat (limited to 'app/views/projects/update.js.haml')
-rw-r--r--app/views/projects/update.js.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/update.js.haml b/app/views/projects/update.js.haml
index 938d44efe29..dcf1f767bf7 100644
--- a/app/views/projects/update.js.haml
+++ b/app/views/projects/update.js.haml
@@ -1,4 +1,4 @@
-- if @project.errors.blank?
+- if @project.valid?
:plain
location.href = "#{edit_namespace_project_path(@project.namespace, @project)}";
- else