Merge diffs from master
This commit is contained in:
parent
6777a465ea
commit
4207152390
@ -453,7 +453,6 @@ class TopicsController < ApplicationController
|
||||
params.require(:duration) if based_on_last_post
|
||||
|
||||
topic = Topic.find_by(id: params[:topic_id])
|
||||
guardian.ensure_can_see!(topic)
|
||||
guardian.ensure_can_moderate!(topic)
|
||||
|
||||
options = {
|
||||
|
||||
Reference in New Issue
Block a user