[refs #194] removed reduntant check

This commit is contained in:
Alexander Machehin 2012-03-15 00:51:22 +06:00
parent 6359acd917
commit bce8618c30
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
-content_for :sidebar do -content_for :sidebar do
- can_manage = can?(:update, @issue) && @issue.persisted? || can?(:create, @project.issues.new) && @issue.new_record? - can_manage = can?(:update, @issue) && @issue.persisted? || @issue.new_record?
- if @issue.persisted? - if @issue.persisted?
.bordered.nopadding .bordered.nopadding
%h3=t('activerecord.attributes.issue.status') %h3=t('activerecord.attributes.issue.status')