Project

General

Profile

Actions

Bug #25988

closed

registry auto_complete not working

Added by Maria Agaphontzev over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

after this PR was merged https://github.com/theforeman/foreman/pull/6460
when opening /registries path

there is this error:

Showing /home/vagrant/foreman/app/views/common/_searchbar.html.erb where line #2 raised:

undefined method `auto_complete_search_registries_path' for #<#<Class:0x00007f67e53f2010>:0x00007f67e53ee938>
Did you mean?  auto_complete_search_filters_path
               auto_complete_search_subnets_path
               auto_complete_search_users_path
               auto_complete_search_usergroups_path
               auto_complete_search_realms_path
               auto_complete_search_settings_path
               auto_complete_search_roles_path
               auto_complete_search_environments_path
               auto_complete_search_parameters_path
               auto_complete_search_organizations_path
               auto_complete_search_media_path
               auto_complete_search_audits_path
               auto_complete_search_policies_path
               auto_complete_search_architectures_path
               auto_complete_search_smart_proxies_path
               auto_complete_search_hosts_path
               auto_complete_search_models_path
               auto_complete_search_ptables_path
               auto_complete_search_arf_reports_path
               auto_complete_search_hostgroups_path
               auto_complete_search_api_hosts_path
               auto_complete_search_domains_path
               auto_complete_search_locations_path
               auto_complete_search_http_proxies_path
               auto_complete_search_bookmarks_path
               auto_complete_search_fact_values_path
               auto_complete_search_lookup_keys_path
Extracted source (around line #5):
3
4
5
6
7
8

    id,
    controller: auto_complete_controller_name,
    url: send("auto_complete_search_#{auto_complete_controller_name}_path"),
    search_query: params[:search],
    use_bookmarks: true,
    use_key_shortcuts: true

Trace of template inclusion: app/views/layouts/_application_content.html.erb, app/views/layouts/application.html.erb

Actions

Also available in: Atom PDF