mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-25 13:33:51 -04:00
FIX: Whoops, DiscourseLocalOnebox became DiscourseGlobalOnebox
This commit is contained in:
parent
923c164d54
commit
1412687112
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue