app/views/_controls.html.erb in sufia-6.3.0 vs app/views/_controls.html.erb in sufia-6.4.0

- old
+ new

@@ -1,10 +1,10 @@ <div id="masthead_controls" class="container-fluid"> <div class="row"> <div class="col-xs-12 col-sm-5 col-md-6"> <nav class="navbar navbar-default" role="navigation"> <ul class="nav navbar-nav"> - <li <%= 'class=active' if current_page?(root_path) %>><a href="<%= root_path %>">Home</a></li> + <li <%= 'class=active' if current_page?(sufia.root_path) %>><a href="<%= sufia.root_path %>">Home</a></li> <li <%= 'class=active' if current_page?(sufia.about_path) %>><a href="<%= sufia.about_path %>">About</a></li> <li <%= 'class=active' if action_name == "help" %>><a href="<%= sufia.static_path('help') %>">Help</a></li> <li <%= 'class=active' if current_page?(sufia.contact_path) %>><a href="<%= sufia.contact_path %>">Contact</a></li> </ul><!-- /.nav --> </nav><!-- /.navbar -->