From b886b93e24e72e56aa40073fd39ba8bebc8db445 Mon Sep 17 00:00:00 2001 From: Sava Gerov Date: Fri, 25 Nov 2016 14:41:22 +0100 Subject: [PATCH] Load initializer if defined --- lib/rails/generators/intercom/config/intercom.rb.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rails/generators/intercom/config/intercom.rb.erb b/lib/rails/generators/intercom/config/intercom.rb.erb index 0b09132..173de49 100644 --- a/lib/rails/generators/intercom/config/intercom.rb.erb +++ b/lib/rails/generators/intercom/config/intercom.rb.erb @@ -127,4 +127,4 @@ IntercomRails.config do |config| # # If you'd like to hide default launcher button uncomment this line # config.hide_default_launcher = true -end +end if defined? IntercomRails