Permalink
Browse files

allow TD_DB to set the db

  • Loading branch information...
1 parent a8bdd83 commit 099c3fcdcf6fb5da95ca815583422ef1588aabc5 @manveru manveru committed Mar 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 options.rb
View
@@ -13,7 +13,7 @@ module TinyDialer
options.dsl do |o|
o "PG for TinyDialer.db", :db,
- pgpass.(database: 'dialer')
+ pgpass.(database: ENV['TD_DB'] || 'dialer')
o.sub :direct_listener do
o "Port", :port,

0 comments on commit 099c3fc

Please sign in to comment.