Skip to content

fix PaperTrail::Rails::Controller.included method#352

Merged
batter merged 1 commit intopaper-trail-gem:masterfrom
jordan-brough:fix-rails-inclusion-v2
Apr 2, 2014
Merged

fix PaperTrail::Rails::Controller.included method#352
batter merged 1 commit intopaper-trail-gem:masterfrom
jordan-brough:fix-rails-inclusion-v2

Conversation

@jordan-brough
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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