committed by
Juanjo Bazán
parent
10d7e9effe
commit
3732b7f420
@@ -11,7 +11,7 @@ class DebatesController < ApplicationController
|
||||
|
||||
def show
|
||||
set_debate_votes(@debate)
|
||||
@comments = @debate.root_comments.with_hidden.recent
|
||||
@comments = @debate.root_comments.with_hidden.recent.page(params[:page])
|
||||
end
|
||||
|
||||
def new
|
||||
|
||||
@@ -88,6 +88,7 @@
|
||||
<% end %>
|
||||
|
||||
<%= render @comments %>
|
||||
<%= paginate @comments %>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user