summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-24 13:04:43 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-24 13:04:43 +0000
commit1f9633d67ce85443346847b64f7cc17d0ca8f8d0 (patch)
tree937b2265bd70fb28b9581ee13b4dd9b2a96ec254 /app
parentd1043c4389cd92d33ff21c3fd994e78cf4d66dba (diff)
parent34695569da0526cde82348286da0e68aaa6273e4 (diff)
downloadgitlab-ce-1f9633d67ce85443346847b64f7cc17d0ca8f8d0.tar.gz
Merge branch 'fix-milestones-with-slashes' into 'master'
Fix Error 500 when global milestones have slashes * Closes #4226 * Closes https://github.com/gitlabhq/gitlabhq/issues/9921 See merge request !2182
Diffstat (limited to 'app')
-rw-r--r--app/models/global_milestone.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/global_milestone.rb b/app/models/global_milestone.rb
index 8bfc79d88f8..af1d7562ebe 100644
--- a/app/models/global_milestone.rb
+++ b/app/models/global_milestone.rb
@@ -16,7 +16,7 @@ class GlobalMilestone
end
def safe_title
- @title.to_slug.to_s
+ @title.to_slug.normalize.to_s
end
def expired?