mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 00:29:30 -05:00
13 lines
297 B
Text
13 lines
297 B
Text
<%
|
|
require_asset("main_include_admin.js")
|
|
|
|
DiscoursePluginRegistry.admin_javascripts.each { |js| require_asset(js) }
|
|
|
|
DiscoursePluginRegistry.each_globbed_asset(admin: true) do |f, ext|
|
|
if File.directory?(f)
|
|
depend_on(f)
|
|
elsif f.to_s.end_with?(".#{ext}")
|
|
require_asset(f)
|
|
end
|
|
end
|
|
%>
|