diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2017-06-01 21:21:14 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-06-01 21:21:14 +0000 |
commit | e564fe971f3dacb1a2a38ad984b865ae23e54400 (patch) | |
tree | e0170db376606eb8796d4cafb5fae7c58730814d /app | |
parent | 8d131eb85ddc1ee6cd4a27830b2607617d767f28 (diff) | |
download | gitlab-ce-e564fe971f3dacb1a2a38ad984b865ae23e54400.tar.gz |
Rename `Gitlab::Git::EncodingHelper` to `Gitlab::EncodingHelper`
Diffstat (limited to 'app')
-rw-r--r-- | app/models/merge_request_diff.rb | 2 | ||||
-rw-r--r-- | app/validators/dynamic_path_validator.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/merge_request_diff.rb b/app/models/merge_request_diff.rb index 1c2f335f95e..99dd2130188 100644 --- a/app/models/merge_request_diff.rb +++ b/app/models/merge_request_diff.rb @@ -1,7 +1,7 @@ class MergeRequestDiff < ActiveRecord::Base include Sortable include Importable - include Gitlab::Git::EncodingHelper + include Gitlab::EncodingHelper # Prevent store of diff if commits amount more then 500 COMMITS_SAFE_SIZE = 100 diff --git a/app/validators/dynamic_path_validator.rb b/app/validators/dynamic_path_validator.rb index a9b76c7c960..27ac60637fd 100644 --- a/app/validators/dynamic_path_validator.rb +++ b/app/validators/dynamic_path_validator.rb @@ -6,7 +6,7 @@ # Values are checked for formatting and exclusion from a list of illegal path # names. class DynamicPathValidator < ActiveModel::EachValidator - extend Gitlab::Git::EncodingHelper + extend Gitlab::EncodingHelper class << self def valid_user_path?(path) |