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

Change the index arg of ActionDispatch::Static#new to a kwarg #20520

Merged
merged 1 commit into from Jun 11, 2015

Conversation

yuki24
Copy link
Contributor

@yuki24 yuki24 commented Jun 11, 2015

This makes it easier to add new args to ActionDispatch::Static (e.g. #19135) since we no longer have to take account of the order of the args.

cc/ @eliotsykes @jonatack

@jonatack
Copy link
Contributor

👍 on kwargs that don't break the previous behavior.

@eliotsykes
Copy link
Contributor

Very nice @yuki24 👍

rafaelfranca added a commit that referenced this pull request Jun 11, 2015
Change the `index` arg of `ActionDispatch::Static#new` to a kwarg
@rafaelfranca rafaelfranca merged commit b560f87 into rails:master Jun 11, 2015
@yuki24 yuki24 deleted the use-a-kwarg-for-static-index branch June 11, 2015 22:09
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.

None yet

4 participants