Commit 1ce28983 authored by Illya Klymov's avatar Illya Klymov

Make incompatible_repos consistent accross all controllers

Unify incompatible_repos behavior with other protected methods
parent c4ae74fd
......@@ -30,7 +30,7 @@ class Import::BaseController < ApplicationController
end
def incompatible_repos
[]
raise NotImplementedError
end
def provider_name
......
......@@ -89,6 +89,11 @@ class Import::FogbugzController < Import::BaseController
end
# rubocop: enable CodeReuse/ActiveRecord
override :incompatible_repos
def incompatible_repos
[]
end
override :provider_name
def provider_name
:fogbugz
......
......@@ -54,6 +54,11 @@ class Import::GitlabController < Import::BaseController
end
# rubocop: enable CodeReuse/ActiveRecord
override :incompatible_repos
def incompatible_repos
[]
end
override :provider_name
def provider_name
:gitlab
......
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