forked from tildeverse/tilde.news
Fix subnav of Upvoted Comments (#1143)
This commit is contained in:
parent
0ca4dbf146
commit
fccb22679e
|
@ -286,7 +286,7 @@ class CommentsController < ApplicationController
|
|||
}
|
||||
|
||||
@title = "Upvoted Comments"
|
||||
@saved_subnav = true
|
||||
@above = 'saved/subnav'
|
||||
|
||||
@page = params[:page].to_i
|
||||
if @page == 0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<% render partial: 'upvoted/subnav' if @upvoted %>
|
||||
<%= render partial: @above if @above %>
|
||||
|
||||
<ol class="comments comments1">
|
||||
<% @comments.each do |comment| %>
|
||||
|
|
Loading…
Reference in New Issue