Skip to content

Commit 52aec30

Browse files
committed
Update to support layouts v0.2
1 parent 517420d commit 52aec30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def list_map
231231

232232
DiscourseEvent.on(:layouts_ready) do
233233
if defined?(DiscourseLayouts) == 'constant' && DiscourseLayouts.class == Module
234-
DiscourseLayouts::WidgetHelper.add_widget('layouts-map')
234+
DiscourseLayouts::Widget.add('layouts-map')
235235
end
236236
end
237237

0 commit comments

Comments
 (0)