diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2016-11-19 18:32:38 +0500 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2016-11-22 11:25:00 +0500 |
commit | 724864eeb4b520f192c844b7672b497f2a4b8473 (patch) | |
tree | d55cfb5ac0c5a6d6cdea3cfef02d03177adeea19 /app/services/update_release_service.rb | |
parent | 78e34d8add4bc1d5e4d820a3a8e8636d5226c427 (diff) | |
download | gitlab-ce-724864eeb4b520f192c844b7672b497f2a4b8473.tar.gz |
Remove unnecessary require_relative calls from service classes
Rails by default use autoload for all dirs from app folder.
require_relative not needed. See ActiveSupport::Dependencies.autoload_paths
Diffstat (limited to 'app/services/update_release_service.rb')
-rw-r--r-- | app/services/update_release_service.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/services/update_release_service.rb b/app/services/update_release_service.rb index 0ee1ff2d7d9..b7c36651968 100644 --- a/app/services/update_release_service.rb +++ b/app/services/update_release_service.rb @@ -1,5 +1,3 @@ -require_relative 'base_service' - class UpdateReleaseService < BaseService def execute(tag_name, release_description) repository = project.repository |