diff options
author | jomo <github@jomo.tv> | 2016-07-24 22:30:00 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2016-07-24 22:30:00 +0200 |
commit | b057cb591344828ceead2d8b156832d332a9991d (patch) | |
tree | aae2670132c50ccc45fa44fafebee386389d765d /app/views/forumthreads/show.html.erb | |
parent | c9e7015f4c675aa3f1320ab70836edd05d7a1208 (diff) |
remove annoying permission check for comments, forums, threads, replies
Diffstat (limited to 'app/views/forumthreads/show.html.erb')
-rw-r--r-- | app/views/forumthreads/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/forumthreads/show.html.erb b/app/views/forumthreads/show.html.erb index 206ae09..876d55d 100644 --- a/app/views/forumthreads/show.html.erb +++ b/app/views/forumthreads/show.html.erb @@ -8,7 +8,7 @@ <%= link_to p do %> <%= ago @thread.created_at %> <% end %> - <%= link_to "edit", edit_forumthread_path( @thread), class: "editlink" if (mod? && current_user.role >= @thread.author.role) || @thread.author.is?(current_user) %> + <%= link_to "edit", edit_forumthread_path( @thread), class: "editlink" if mod? || @thread.author.is?(current_user) %> <div class="clear-right"></div> </div> <div class="items"> |