If the controller is editable get the referrer from the controller, otherwise get it from the request.
If the controller is editable get the referrer from the controller, otherwise get it from the request.

nooku/nooku-platform,timble/kodekit-platform,timble/kodekit-platform,nooku/nooku-platform,nooku/nooku-platform,nooku/nooku-platform,timble/kodekit-platform,timble/kodekit-platform,nooku/nooku-platform,timble/kodekit-platform