Permalink
Browse files

Merge branch 'master' of github.com:radiant/radiant

  • Loading branch information...
2 parents 5650b78 + 3db4869 commit 1f407a2c739dbdaf1e02304e6b0138d27e860dcc @saturnflyer saturnflyer committed Jun 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/layouts/application.html.haml
@@ -29,7 +29,7 @@
%li{:class=>('current ' if current_tab?(tab)).to_s}
= link_to translate_with_default(tab.name), (tab.first.relative_url if tab.first)
#toolbar
- - if @current_tab.size > 1
+ - if @current_tab and @current_tab.size > 1
%ul#secondary_navigation
- @current_tab.each do |sub_item|
- if sub_item.visible?(current_user)

0 comments on commit 1f407a2

Please sign in to comment.