From ad510af829f6fb84428edfb8b43ad6a7abac696e Mon Sep 17 00:00:00 2001 From: cyril Date: Mon, 2 May 2016 20:00:39 +0200 Subject: [PATCH] fix initializers openlab_ruby for env dev --- config/initializers/openlab_ruby.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/initializers/openlab_ruby.rb b/config/initializers/openlab_ruby.rb index 240b101cc..ca44a4780 100644 --- a/config/initializers/openlab_ruby.rb +++ b/config/initializers/openlab_ruby.rb @@ -1,3 +1,6 @@ Openlab.configure do |config| config.app_secret = Rails.application.secrets.openlab_app_secret + if !Rails.env.production? + config.base_uri = Rails.application.secrets.openlab_base_uri + end end