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 PaperTrail::Rails::Controller.included method #352

Merged

Conversation

jordan-brough
Copy link
Contributor

replaces #351

remove "if" condition and make loading of Rails code conditional.

this bombed if the controller wasn't ActionController::Base and the rails-api gem wasn't included.

remove "if" condition and make loading of Rails code conditional.

this bombed if the controller wasn't ActionController::Base and the rails-api gem wasn't included.
@batter batter merged commit d93fe87 into paper-trail-gem:master Apr 2, 2014
@batter
Copy link
Collaborator

batter commented Apr 2, 2014

Cheers! Hopefully this will help the gem to become compatible with all controller types in the future!

@jordan-brough
Copy link
Contributor Author

Awesome, thanks!

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.

2 participants