Skip to content

Commit

Permalink
FIX: allowlisted_generic_onebox engine should be last
Browse files Browse the repository at this point in the history
  • Loading branch information
lis2 committed Jul 7, 2020
1 parent 86dab41 commit 6f56010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/onebox/engine.rb
Expand Up @@ -9,7 +9,7 @@ def self.included(object)
def self.engines
constants.select do |constant|
constant.to_s =~ /Onebox$/
end.map(&method(:const_get))
end.map(&method(:const_get)).sort_by { |klass| klass.to_s }.reverse
end

attr_reader :url, :uri
Expand Down

0 comments on commit 6f56010

Please sign in to comment.