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 syntax errors in api controller #171

Merged
merged 1 commit into from
Oct 14, 2015
Merged

Fixes syntax errors in api controller #171

merged 1 commit into from
Oct 14, 2015

Conversation

cmckni3
Copy link
Contributor

@cmckni3 cmckni3 commented Oct 14, 2015

No description provided.

owen2345 added a commit that referenced this pull request Oct 14, 2015
Fixes syntax errors in api controller
@owen2345 owen2345 merged commit e84c90b into owen2345:master Oct 14, 2015
@cmckni3
Copy link
Contributor Author

cmckni3 commented Oct 14, 2015

N.B. the syntax below isn't valid ruby.

# Invalid: syntax error
h = {
  'my_string': 'value'
}

# Valid
h = {
  :'my_string' => 'value'
}

# Valid
h = {
  my_string: 'value'
}

@cmckni3 cmckni3 deleted the fix-api-controller-bugs branch October 14, 2015 18:39
@raulanatol
Copy link
Contributor

Hi @cmckni3!

(facepalm)
Thanks for your fix!

@cmckni3
Copy link
Contributor Author

cmckni3 commented Oct 15, 2015

No problem

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

Successfully merging this pull request may close these issues.

3 participants