超级管理员可以在任何竞赛发布通知公告
This commit is contained in:
parent
8f0fdbdb75
commit
e9a72b56cb
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue