pundit: syntax error
This commit is contained in:
parent
2d53922f1c
commit
5f3f5212c5
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class TopicsController < ApplicationController
|
|||
|
||||
respond_to do |format|
|
||||
format.html {
|
||||
@alltopics = ([@topic] + policy_scope(@topic.relatives)
|
||||
@alltopics = ([@topic] + policy_scope(@topic.relatives))
|
||||
@allsynapses = policy_scope(@topic.synapses)
|
||||
|
||||
@allcreators = @alltopics.map(&:user).uniq
|
||||
|
|
Loading…
Reference in a new issue