# Registration

Actions are registered within a resource by using the resource's `actions` method. This method defines which actions are available for that specific resource.

## `action`

The `action` method is used to register an action within the `actions` block. It accepts the action class as its first argument and optional configuration parameters like `arguments` and `icon`

```ruby{5}