diff --git a/app/views/layouts/resque_web/application.html.erb b/app/views/layouts/resque_web/application.html.erb index d7557cc..492d3dc 100644 --- a/app/views/layouts/resque_web/application.html.erb +++ b/app/views/layouts/resque_web/application.html.erb @@ -6,8 +6,18 @@ Resque. - <%= stylesheet_link_tag "resque_web/application", :media => "all" %> + <%= stylesheet_link_tag "resque_web/application", :media => "all" %> + <%= + ResqueWeb::Plugins.plugins.collect do |p| + stylesheet_link_tag "#{p.name.underscore.downcase}/application" + end.join("\n").html_safe + %> <%= javascript_include_tag "resque_web/application" %> + <%= + ResqueWeb::Plugins.plugins.collect do |p| + javascript_include_tag "#{p.name.underscore.downcase}/application" + end.join("\n").html_safe + %> <%= csrf_meta_tags %>