let's include the `before_action` to make it overly clear what we mean:

```
before_action do
  request.variant = :tablet if request.user_agent =~ /iPad/
end
```