超级管理员可以在任何竞赛发布通知公告

This commit is contained in:
sw 2014-09-16 14:15:52 +08:00
parent 8f0fdbdb75
commit e9a72b56cb
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<%= l(:label_notification) %>
</span>
<% if User.current.logged? && User.current == @contest.author %>
<% if User.current.logged? && (User.current.admin? ||User.current == @contest.author) %>
<%= link_to(l(:bale_news_notice),
new_contest_contestnotification_path(@contest),
:class => 'icon icon-add',