mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 08:08:00 -05:00
When an application does not define a `root`, the method will be
undefined instead of returning a falsey value.
This commit also includes a new test with fake objects that mimic this
behavior.
Related resources:
* 1aab449933 (diff-c1be825bdb5f3160081e41432f83d0d7R278)
* https://github.com/plataformatec/devise/issues/5021