pundit: syntax error
This commit is contained in:
parent
fc1a7fd23d
commit
0095a8daf4
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