summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-08 23:59:04 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-08 23:59:04 -0800
commitb287462bb488077b1b05195d9c005963df0571af (patch)
tree2cfb9290e0a336a88439669b043a24ff023644ac /app
parent9d79d6e152858605afeddeeb10f43a5efbdf0376 (diff)
parent45de7d263d8494d0aaaf99d7a6c44f7f9d2adf09 (diff)
downloadgitlab-ce-b287462bb488077b1b05195d9c005963df0571af.tar.gz
Merge pull request #4795 from bke-drewb/issue-4769
Issue-4769 - Unable to update case of label
Diffstat (limited to 'app')
-rw-r--r--app/models/issue.rb2
-rw-r--r--app/models/project.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index f3ec322126f..d350b237d37 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -21,6 +21,8 @@ class Issue < ActiveRecord::Base
include Issuable
include InternalId
+ ActsAsTaggableOn.strict_case_match = true
+
belongs_to :project
validates :project, presence: true
diff --git a/app/models/project.rb b/app/models/project.rb
index 0b32c90f09b..73aa237013e 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -27,6 +27,8 @@
class Project < ActiveRecord::Base
include Gitlab::ShellAdapter
extend Enumerize
+
+ ActsAsTaggableOn.strict_case_match = true
attr_accessible :name, :path, :description, :issues_tracker, :label_list,
:issues_enabled, :wall_enabled, :merge_requests_enabled, :snippets_enabled, :issues_tracker_id,