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

Don't assume presence of ApplicationController for anonymous controllers. #924

Merged

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Feb 6, 2014

Apparently some of our developers don't have a root ApplicationController so
let's check for it's presence and use ActionController::Base when it's not
around. Should fix #922.

@JonRowe
Copy link
Member Author

JonRowe commented Feb 6, 2014

/cc @alindeman

@alindeman
Copy link
Contributor

Sweet! Thanks for doing this. When Travis goes green, I'll merge.

@alindeman
Copy link
Contributor

Darn it! Fooled by def

alindeman added a commit that referenced this pull request Feb 10, 2014
…lication_controller

Don't assume presence of ApplicationController for anonymous controllers.
@alindeman alindeman merged commit 2a44340 into master Feb 10, 2014
@alindeman alindeman deleted the dont_assume_root_controller_is_application_controller branch February 10, 2014 02:15
alindeman added a commit that referenced this pull request Feb 10, 2014
alindeman added a commit that referenced this pull request Feb 10, 2014
@billychan
Copy link
Contributor

That's nice!

@mhenrixon
Copy link
Contributor

So nice of you to fix that! Thanks a bunch :)

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.

4 participants