Permalink
Browse files

Merge pull request #4 from copyhacker/rails_3_1_compatibility

Maintain backwards compatibility with Rails 3.1
  • Loading branch information...
2 parents 114f696 + 831b278 commit a059bd2c59bab7a152615df68feeefc78bb16e63 @mmrwoods committed Dec 25, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/ciunas/logger.rb
View
@@ -4,7 +4,8 @@ def initialize(app, opts = {})
@app = app
@opts = opts
@silenced = @opts.delete(:silenced) || []
- super
+
+ super if Rails::VERSION::STRING >= "3.2"
end
def call(env)

0 comments on commit a059bd2

Please sign in to comment.