Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #14802 - Correctly determines if working with Host/Hostgroups page #5994

Merged
merged 1 commit into from Apr 26, 2016

Commits on Apr 25, 2016

  1. Fixes #14802 - Correctly determines if working with Host/Hostgroups page

    Prior to this commit the hosts and hostroups pages used the same erbs
    They were just identifying what constitutes a host page vs hostgroup
    page in the wrong manner.
    It used -> @host.nil? to determine this which doesnt work for all
    situations.
    
    This commit instead centralizes that logic in a nice helper and uses a
    simpler 'check the controller name' approach
    parthaa committed Apr 25, 2016
    Configuration menu
    Copy the full SHA
    91a406d View commit details
    Browse the repository at this point in the history