playframework/Play20 — comment on commit 5188a2434a595fbb18e94c454d6a4c51de9e759a
File: framework/play/src/main/scala/play/api/mvc/Security.scala line 74
By guillaumebort:

By the way if you have something like Cached that is not an Action itself, you can always use:

```scala
object MyController extends Controller {
def myAction = Authenticated { username =>
Action { request =>
Cached {
…
}
}
}
}
```

That's exactly the same.