another fix: unable to find policy NilClassPolicy
This commit is contained in:
parent
a38a862cd0
commit
0d048ff30b
|
@ -1,4 +1,4 @@
|
|||
-if presenter.reference_project && !presenter.is_reference_to_issue || policy(presenter.reference_project).show?
|
||||
-if presenter.reference_project && (!presenter.is_reference_to_issue || policy(presenter.reference_project).show?)
|
||||
.panel.panel-default[ id = (presenter.comment_id? ? presenter.comment_anchor : '') ]
|
||||
.panel-body
|
||||
.pull-left.roffset5
|
||||
|
|
Loading…
Reference in New Issue