Permalink
Browse files

Merge pull request #13 from coolluck/3c0ac381

can't get proper value from application env
  • Loading branch information...
2 parents 15dd691 + 3c0ac38 commit 552ac9968d2457286056a17f3be7f53ec72a31cc @mokele mokele committed Apr 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/bigwig_http.erl
View
@@ -39,7 +39,7 @@ dispatch_rules() ->
confval(Key, Default) ->
case application:get_env(Key) of
undefined -> Default;
- Val -> Val
+ {ok, Val} -> Val
end.
init([]) ->

0 comments on commit 552ac99

Please sign in to comment.