another fix: unable to find policy NilClassPolicy

This commit is contained in:
Alexander Machehin 2015-04-22 17:02:00 +05:00
parent a38a862cd0
commit 0d048ff30b
1 changed files with 1 additions and 1 deletions

View File

@ -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