Skip to content

Commit

Permalink
Fixed issue where base.class would always equal Class, related to issue
Browse files Browse the repository at this point in the history
  • Loading branch information
anlek committed Sep 5, 2012
1 parent 565e4b9 commit b19042c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pdf_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module PdfHelper
def self.included(base)
# Protect from trying to augment modules that appear
# as the result of adding other gems.
return if base.class != ActionController::Base
return if base != ActionController::Base

base.class_eval do
alias_method_chain :render, :wicked_pdf
Expand Down

0 comments on commit b19042c

Please sign in to comment.