Skip to content

Commit

Permalink
Edited lib/hooks/view_layouts_base_html_head_hook.rb via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisSerrano committed Apr 29, 2011
1 parent 6e4d5b8 commit d781179
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/hooks/view_layouts_base_html_head_hook.rb
Expand Up @@ -4,6 +4,9 @@ class ViewLayoutsBaseHtmlHeadHook < Redmine::Hook::ViewListener
def view_layouts_base_html_head(context={})
if context[:controller] && ( context[:controller].is_a?(IssuesController) ||
context[:controller].is_a?(WikiController) ||
context[:controller].is_a?(DocumentsController) ||
context[:controller].is_a?(FilesController) ||
context[:controller].is_a?(MessageController) ||
context[:controller].is_a?(BoardsController))
return stylesheet_link_tag("jquery.fancybox-1.3.4.css", :plugin => "redmine_lightbox", :media => "screen") +
stylesheet_link_tag("lightbox.css", :plugin => "redmine_lightbox", :media => "screen") +
Expand Down

0 comments on commit d781179

Please sign in to comment.