pundit: convert posts to pundit.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<% if CurrentUser.is_gold? %>
|
||||
<% if policy(Post).can_use_mode_menu? %>
|
||||
<section id="mode-box">
|
||||
<h1>Mode</h1>
|
||||
<form action="/">
|
||||
|
||||
Reference in New Issue
Block a user