# File lib/refinery/authenticated_system.rb, line 22 def signed_in_root_path(resource_or_scope) scope = Devise::Mapping.find_scope!(resource_or_scope) home_path = "#{scope}_root_path" if respond_to?(home_path, true) refinery.send(home_path) elsif respond_to?(:admin_root_path) refinery.admin_root_path else "/" end end