File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
app/views/content/components Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 3030 </ li >
3131 < li class ="divider " tabindex ="-1 "> </ li >
3232 <%
33- linkable_universes_with_this_kind_of_content = @linkables_raw . fetch ( 'Universe' , [ ] ) . select do |universe |
34- @current_user_content . fetch ( content_type . name , [ ] ) . any? { |content | content . universe_id == universe . id }
35- end
33+ # Since ContentPages clobber the universe_id, we can't filter our universes down to ones with content added
34+ # to them. So instead, we're just gonna show all universes for now.
35+ # linkable_universes_with_this_kind_of_content = @linkables_raw.fetch('Universe', []).select do |universe|
36+ # @current_user_content.fetch(content_type.name, []).any? { |content| content.universe_id == universe.id }
37+ # end
38+ linkable_universes_with_this_kind_of_content = @linkables_raw . fetch ( 'Universe' , [ ] )
3639 %>
3740 <% linkable_universes_with_this_kind_of_content . each do |universe | %>
3841 < li >
You can’t perform that action at this time.
0 commit comments