diff --git a/app/views/layouts/_topbar.slim b/app/views/layouts/_topbar.slim index 4b558e8..2a5b3b5 100644 --- a/app/views/layouts/_topbar.slim +++ b/app/views/layouts/_topbar.slim @@ -19,9 +19,9 @@ nav.top-bar a href="/" Home li.menu-text class=('active' if controller_name=='packages' and request.fullpath != packages_without_path) a href="/packages" Browse - / TODO: highlights the "Browse" tab (even) when you click on Contribute + / TODO: highlights the "Browse" tab (even) when you click on Upload li.menu-text class=('active' if request.fullpath == packages_without_path) - =link_to 'Contribute', :packages_without + =link_to 'Upload', :packages_without //li.has-dropdown //a href="#" Distributions //ul.dropdown