We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e69017 commit 761d909Copy full SHA for 761d909
app/controllers/application_controller.rb
@@ -196,7 +196,7 @@ def cache_linkable_content_for_each_content_type
196
197
# If we're scoped to a universe, also scope contributor content pulled to that
198
# universe. If we're not, leave it as all contributor content.
199
- if @universe_scope
+ if @universe_scope && pages_to_add.klass.respond_to?(:universe)
200
pages_to_add = pages_to_add.where(universe: @universe_scope)
201
end
202
0 commit comments