# - `via_resource_class` identifies when users click to view or edit the resource
if params[:resource_name] == 'stores' || params[:via_resource_class] == 'Avo::Resources::Store'
  # field
end
```

In this example, the `review` field is only visible/editable on User when the resource is accessed from the `Store` resource.

```ruby