force a hard refresh to home when navigating from notifs
This commit is contained in:
parent
ff008327fa
commit
9d747f3186
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
<div class="upperLeftUI">
|
||||
<!-- home button -->
|
||||
<div class="homeButton">
|
||||
<a href="<%= root_url %>" <% if current_user && !appsPage %><%= 'data-router=true' %><% end %>>METAMAPS</a>
|
||||
<a href="<%= root_url %>" <% if current_user && !noHardHomeLink %><%= 'data-router=true' %><% end %>>METAMAPS</a>
|
||||
</div> <!-- end homeButton -->
|
||||
|
||||
<!-- search box -->
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
<div class="wrapper <%= classes %>" id="wrapper">
|
||||
|
||||
<%= render :partial => 'layouts/upperelements', :locals => { :appsPage => false } %>
|
||||
<%= render :partial => 'layouts/upperelements', :locals => { :noHardHomeLink => controller_name == "notifications" ? true : false } %>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<div class="wrapper <%= classes %>" id="wrapper">
|
||||
|
||||
<%= render :partial => 'layouts/upperelements', :locals => {:appsPage => true } %>
|
||||
<%= render :partial => 'layouts/upperelements', :locals => {:noHardHomeLink => true } %>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
|
|
Loading…
Reference in a new issue