Commit b287462b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #4795 from bke-drewb/issue-4769

Issue-4769 - Unable to update case of label
parents 9d79d6e1 45de7d26
...@@ -21,6 +21,8 @@ class Issue < ActiveRecord::Base ...@@ -21,6 +21,8 @@ class Issue < ActiveRecord::Base
include Issuable include Issuable
include InternalId include InternalId
ActsAsTaggableOn.strict_case_match = true
belongs_to :project belongs_to :project
validates :project, presence: true validates :project, presence: true
......
...@@ -28,6 +28,8 @@ class Project < ActiveRecord::Base ...@@ -28,6 +28,8 @@ class Project < ActiveRecord::Base
include Gitlab::ShellAdapter include Gitlab::ShellAdapter
extend Enumerize extend Enumerize
ActsAsTaggableOn.strict_case_match = true
attr_accessible :name, :path, :description, :issues_tracker, :label_list, attr_accessible :name, :path, :description, :issues_tracker, :label_list,
:issues_enabled, :wall_enabled, :merge_requests_enabled, :snippets_enabled, :issues_tracker_id, :issues_enabled, :wall_enabled, :merge_requests_enabled, :snippets_enabled, :issues_tracker_id,
:wiki_enabled, :public, :import_url, :last_activity_at, as: [:default, :admin] :wiki_enabled, :public, :import_url, :last_activity_at, as: [:default, :admin]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment