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

Corrects problem calling show_link with bad value #4324

Merged
merged 1 commit into from Sep 21, 2015

Commits on Sep 18, 2015

  1. Corrects problem calling show_link with bad value

    show_link method assumes its first parameter to be ActiveRecord instance
    - it calls .id on it.
    When show_link method was introduced in
    52458a6
    @record.id was used as it was used to generate url for link before.
    This patch corrects that. Without it MIQ generates error when user is
    trying to view page like /ems_infra/show/1?display=timeline
    Petr Blaho committed Sep 18, 2015
    Configuration menu
    Copy the full SHA
    aa73af2 View commit details
    Browse the repository at this point in the history