Skip to content

Commit

Permalink
logger badly detected
Browse files Browse the repository at this point in the history
  • Loading branch information
julsemaan committed Apr 16, 2015
1 parent 538ee73 commit b1108d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fingerbank_client/logger.rb
Expand Up @@ -3,7 +3,7 @@

class Fingerbank
def self.logger
return defined?(Rails) && defined?(Rails.logger) ? Rails.logger : Logger.new(STDOUT)
return defined?(Rails) && Rails.logger ? Rails.logger : Logger.new(STDOUT)
end
end

0 comments on commit b1108d7

Please sign in to comment.