Merge pull request #3395 from riking/patch-1

FIX: Whoops, DiscourseLocalOnebox became DiscourseGlobalOnebox
This commit is contained in:
Jeff Atwood 2015-04-24 01:11:13 -07:00
commit a6ea9bd05c
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ module Onebox
route = Rails.application.routes.recognize_path(uri.path)
case route[:controller]
when 'topics'
true
# super will use matches_regexp to match the domain name
super
else
false
end