I agree. Perhaps the default links should be extracted out of there, into a constant.
```ruby
DEFAULT_ACTIONS = proc { ... }
```