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

Fix typo in auth_key_pair_cloud route #12031

Merged
merged 1 commit into from
Oct 18, 2016
Merged

Conversation

jrafanie
Copy link
Member

We're in a %w(...) so the comma is not needed.

This was added in 3580a50.

Before:

$ bin/rake routes |grep "auth_key_pair_cloud\/tag_edit_form_field_changed"
GET     /auth_key_pair_cloud/tag_edit_form_field_changed,(/:id)(.:format)          auth_key_pair_cloud#tag_edit_form_field_changed,
POST    /auth_key_pair_cloud/tag_edit_form_field_changed(/:id)(.:format)           auth_key_pair_cloud#tag_edit_form_field_changed

After:

$ bin/rake routes |grep "auth_key_pair_cloud\/tag_edit_form_field_changed"
GET     /auth_key_pair_cloud/tag_edit_form_field_changed(/:id)(.:format)           auth_key_pair_cloud#tag_edit_form_field_changed
POST    /auth_key_pair_cloud/tag_edit_form_field_changed(/:id)(.:format)           auth_key_pair_cloud#tag_edit_form_field_changed

Seen with the code climate browser extension:

image

@AparnaKarve Please review. I think this needs euwe since #9466 is in euwe

We're in a %w(...) so the comma is not needed.

This was added in 3580a50.

**Before**:

    $ bin/rake routes |grep "auth_key_pair_cloud\/tag_edit_form_field_changed"
    GET     /auth_key_pair_cloud/tag_edit_form_field_changed,(/:id)(.:format)          auth_key_pair_cloud#tag_edit_form_field_changed,
    POST    /auth_key_pair_cloud/tag_edit_form_field_changed(/:id)(.:format)           auth_key_pair_cloud#tag_edit_form_field_changed

**After**:

    $ bin/rake routes |grep "auth_key_pair_cloud\/tag_edit_form_field_changed"
    GET     /auth_key_pair_cloud/tag_edit_form_field_changed(/:id)(.:format)           auth_key_pair_cloud#tag_edit_form_field_changed
    POST    /auth_key_pair_cloud/tag_edit_form_field_changed(/:id)(.:format)           auth_key_pair_cloud#tag_edit_form_field_changed
@miq-bot
Copy link
Member

miq-bot commented Oct 18, 2016

Checked commit jrafanie@df4c6de with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1
1 file checked, 0 offenses detected
Everything looks good. 🍰

@AparnaKarve
Copy link
Contributor

@jrafanie This is totally A-OK! 👍

@jrafanie
Copy link
Member Author

Thanks @AparnaKarve

@bdunne bdunne merged commit 909fcc7 into ManageIQ:master Oct 18, 2016
@bdunne bdunne added this to the Sprint 48 Ending Oct 24, 2016 milestone Oct 18, 2016
@jrafanie jrafanie deleted the fix_route_typo branch October 18, 2016 17:41
chessbyte pushed a commit that referenced this pull request Oct 19, 2016
Fix typo in auth_key_pair_cloud route
(cherry picked from commit 909fcc7)
@chessbyte
Copy link
Member

Euwe Backport details:

$ git log -1
commit 3031aac5a323ee4fc4de176dc99087a25df3f3f8
Author: Brandon Dunne <brandondunne@hotmail.com>
Date:   Tue Oct 18 13:36:39 2016 -0400

    Merge pull request #12031 from jrafanie/fix_route_typo

    Fix typo in auth_key_pair_cloud route
    (cherry picked from commit 909fcc7cd677449d5c6dcc2281353923a15ccf3a)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants