diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-11-19 16:18:13 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-11-19 16:18:13 +0100 |
commit | e1e67d383e4b56c9e1848aebc175402a71502e82 (patch) | |
tree | f8c6ebb928e0cb822d3b8e53788cf5771fd79cfd /lib/gitlab/reference_extractor.rb | |
parent | f5a630111fb1499a1541e77040529f74ca6475ec (diff) | |
download | gitlab-ce-e1e67d383e4b56c9e1848aebc175402a71502e82.tar.gz |
Move Markdown filters and pipelines into folders.
Diffstat (limited to 'lib/gitlab/reference_extractor.rb')
-rw-r--r-- | lib/gitlab/reference_extractor.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/reference_extractor.rb b/lib/gitlab/reference_extractor.rb index e5cafebdbc0..e83167fa7d7 100644 --- a/lib/gitlab/reference_extractor.rb +++ b/lib/gitlab/reference_extractor.rb @@ -33,8 +33,7 @@ module Gitlab # # Returns the results Array for the requested filter type def pipeline_result(filter_type) - klass = "#{filter_type.to_s.camelize}ReferenceFilter" - filter = Gitlab::Markdown.const_get(klass) + filter = Gitlab::Markdown::ReferenceFilter[filter_type] context = { pipeline: :reference_extraction, |