Perhaps this is better. But I don't like this one either.
```ruby
head :not_found unless (1..Timeline.count).include? Timeline::PA * (page -1)
```