DEV: Change bookmarkable registration to use new plugin API (#230)

Relies on core PR https://github.com/discourse/discourse/pull/20556
to be merged first.
This commit is contained in:
Martin Brennan
2023-03-08 10:39:20 +10:00
committed by GitHub
parent 0f6b30c2d8
commit a684897468
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -899,7 +899,7 @@ SQL
)
# Making DataExplorer::QueryGroup Bookmarkable.
Bookmark.register_bookmarkable(DataExplorerQueryGroupBookmarkable)
register_bookmarkable(DataExplorerQueryGroupBookmarkable)
require_dependency "application_controller"
require_dependency File.expand_path("../lib/queries.rb", __FILE__)