Use the correct method
This commit is contained in:
@@ -33,6 +33,6 @@
|
||||
<div class="settings__panel panel shadow center">
|
||||
<%= render "boards/edit/auto_close", board: @board %>
|
||||
<%= render "boards/edit/publication", board: @board %>
|
||||
<%= render "boards/edit/delete", board: @board if Current.user.can_administer_card?(@board) %>
|
||||
<%= render "boards/edit/delete", board: @board if Current.user.can_administer_board?(@board) %>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user