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

Move include to a separate module rather than HTTPStatus:: #5

Merged
merged 1 commit into from Oct 27, 2012

Conversation

miyagawa
Copy link
Contributor

Currently because HTTPStatus module is mixed into ActionController::Base, whenever a new constant like HTTPStatus::Forbidden is created it will create an alias such as ActionController::Base::Forbidden.

This patch will move the Controller specific additions i.e. included and http_status_exception into a separate module to avoid that.

@wvanbergen
Copy link
Owner

Can you rebase on master? I fixed some stuff, so now we should get a full CI run on this pull request.

@miyagawa
Copy link
Contributor Author

Done!

wvanbergen added a commit that referenced this pull request Oct 27, 2012
Move include to a separate module rather than HTTPStatus::
@wvanbergen wvanbergen merged commit 8b88105 into wvanbergen:master Oct 27, 2012
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

2 participants