Skip to content

Commit

Permalink
Merge pull request #1879 from PrestaEdit/patch-39
Browse files Browse the repository at this point in the history
Annotation to attribute
  • Loading branch information
kpodemski authored Nov 20, 2024
2 parents b552eea + f5bf89f commit 97b663f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/concepts/controllers/admin-controllers/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,4 @@ In order to generate the valid URI of a controller you created from inside the m

## Secure your controller

It is safer to define permissions required to use your controller, this can be configured using the `@AdminSecurity` annotation and some configuration in your routing file. You can read this documentation if you need more details about [Controller Security]({{< ref "/1.7/development/architecture/migration-guide/controller-routing.md#security" >}}).
It is safer to define permissions required to use your controller, this can be configured using the `#[AdminSecurity]` attribute and some configuration in your routing file. You can read this documentation if you need more details about [Controller Security]({{< ref "/9/development/architecture/migration-guide/controller-routing.md#security" >}}).

0 comments on commit 97b663f

Please sign in to comment.