Chore: Remove deprecation warning post rails upgrade (#7080)
Fixes: https://linear.app/chatwoot/issue/CW-1575/fix-deprecations-post-upgrade-to-rails-7
This commit is contained in:
@@ -46,7 +46,7 @@ as defined by the routes in the `admin/` namespace
|
||||
<%= link_to(
|
||||
display_resource_name(resource),
|
||||
resource_index_route(resource)
|
||||
) if valid_action? :index, resource %>
|
||||
) if existing_action? resource, :index %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user