mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 00:33:42 +08:00
14 lines
263 B
Plaintext
14 lines
263 B
Plaintext
<%
|
|
require_asset("main_include_admin.js")
|
|
|
|
DiscoursePluginRegistry.admin_javascripts.each { |js| require_asset(js) }
|
|
|
|
DiscoursePluginRegistry.each_globbed_asset(admin: true) do |f|
|
|
if File.directory?(f)
|
|
depend_on(f)
|
|
else
|
|
require_asset(f)
|
|
end
|
|
end
|
|
%>
|