Last active
December 21, 2015 13:58
-
-
Save shuhei/6315928 to your computer and use it in GitHub Desktop.
Prevent paper_trails from causing errors in konacha server. Konacha::SpecsController doesn't need paper_trails anyway because it only serves spec files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Konacha::SpecsController.class_eval do | |
def paper_trail_enabled_for_controller | |
false | |
end | |
end if defined?(Konacha) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment