def logout_path(user = current_user, app = main_app)
      path = security.logout_path
      path ||=
        if defined? ::Devise
          scope = ::Devise::Mapping.find_scope! user
          "destroy_#{scope}_session_path"
        end
      ModuleUtils.try_to app, path
    end
def logout_path(user = current_user, app = main_app)
      path = security.logout_path
      path ||=
        if defined? ::Devise
          scope = ::Devise::Mapping.find_scope! user
          "destroy_#{scope}_session_path"
        end
      ModuleUtils.try_to app, path
    end
Logout path for given user
 @see Wallaby::Configuration::Security#logout_path
 @param user [Object]
 @param app [Object]
 @return [String] URL to log out