try overriding Widget#default_url_options in your widget, this would
be a first step. That should work!
Nick
class YourBaseWidget < Apotomo::Widget
def default_url_options
...
end
end
class YourOtherWidgets < YourBaseWidget
...
end
That's the approach I'd take, at least. I expect there's a way to reopen Apotomo's own class in part of the Rails initialization process, and replace default_url_options across the board that way. The only thing then is that when you are looking at your widgets themselves, they will appear to depend only on Apotomo; it would be easy to forget that it's patched.
-Paul