724864eeb4
Rails by default use autoload for all dirs from app folder. require_relative not needed. See ActiveSupport::Dependencies.autoload_paths
7 lines
233 B
Ruby
7 lines
233 B
Ruby
module Files
|
|
class DeleteService < Files::BaseService
|
|
def commit
|
|
repository.remove_file(current_user, @file_path, @commit_message, @target_branch, author_email: @author_email, author_name: @author_name)
|
|
end
|
|
end
|
|
end
|