module Tools
  module BaseHelper
    def ip_resolver_sidebar
      add_tools_sidebar "IP Resolver", "ip_resolver", {
        Tools::IpResolver => tools_ip_resolver_show_path,
      }
    end

    def translator_sidebar
      add_tools_sidebar "Translation Tool", "translator", {
        Tools::Translator => tools_translator_root_path,
      }
    end
  end
end
