Permalink
Browse files

Use options instead default_options.

Fnordmetric.default_options doesn't respect options set by the user
via Fnordmetric.options = {some: 'option'}.

This should solve #126
  • Loading branch information...
1 parent ee86846 commit 8ba460347bc8d7fcdff7e88c5b44dc1f973bdc6c @skorfmann skorfmann committed Feb 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 fnordmetric-core/lib/fnordmetric/web/app.rb
@@ -28,7 +28,7 @@ class FnordMetric::App < Sinatra::Base
end
def initialize(opts = {})
- @opts = FnordMetric.default_options(opts)
+ @opts = FnordMetric.options(opts)
@namespaces = FnordMetric.namespaces
@redis = Redis.connect(:url => @opts[:redis_url])

0 comments on commit 8ba4603

Please sign in to comment.