Commit b0c97d97577c80935c4c4b32e94a2ae0b31014d3
1 parent
fbbbdbd2
Exists in
colab
and in
4 other branches
Production environment loads kalibro address from file
Showing
3 changed files
with
7 additions
and
1 deletions
Show diff stats
.gitignore
config/environments/production.rb
... | ... | @@ -80,4 +80,8 @@ Mezuro::Application.configure do |
80 | 80 | |
81 | 81 | # Root URL for ActionMailer |
82 | 82 | config.action_mailer.default_url_options = { :host => 'mezuro.org' } |
83 | + | |
84 | + # Kalibro URL | |
85 | + KalibroGem.configure_with(Rails.root.join('config', 'kalibro.yml')) | |
86 | + puts Rails.root.join('config', 'kalibro.yml') | |
83 | 87 | end | ... | ... |