Skip to content

Commit 2521ef7

Browse files
committed
Fix table header generation for "Become" button
1 parent d5a9b66 commit 2521ef7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/example_app/app/views/admin/customers/_collection_header_actions.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[
33
existing_action?(collection_presenter.resource_name, :edit),
44
existing_action?(collection_presenter.resource_name, :destroy),
5-
resources.class == Customer, # "Become" action
5+
resources.klass == Customer, # "Become" action
66
].count(true).times do %>
77
<th scope="col" class="cell-label--action-button"></th>
88
<% end %>

0 commit comments

Comments
 (0)