We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5a9b66 commit 2521ef7Copy full SHA for 2521ef7
1 file changed
spec/example_app/app/views/admin/customers/_collection_header_actions.html.erb
@@ -2,7 +2,7 @@
2
[
3
existing_action?(collection_presenter.resource_name, :edit),
4
existing_action?(collection_presenter.resource_name, :destroy),
5
- resources.class == Customer, # "Become" action
+ resources.klass == Customer, # "Become" action
6
].count(true).times do %>
7
<th scope="col" class="cell-label--action-button"></th>
8
<% end %>
0 commit comments