how about just:

```ruby
fullpath = options[:fullpath] || request.fullpath
```