Permalink
Browse files

fix bug using confval

can't get proper value from application env
  • Loading branch information...
1 parent 055139c commit 3c0ac38107e46f7c6d2c791ba1fbef3b38fecb53 Minsu Choi committed Apr 12, 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 3c0ac38

Please sign in to comment.