From 09fc1c22bd5baae5d33828a6df23e2441987498f Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Sun, 7 Aug 2011 00:08:45 +0800 Subject: [PATCH] Added js_notifier option to configuration instructions. --- app/views/apps/_configuration_instructions.html.haml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/views/apps/_configuration_instructions.html.haml b/app/views/apps/_configuration_instructions.html.haml index c951c43..3223c83 100644 --- a/app/views/apps/_configuration_instructions.html.haml +++ b/app/views/apps/_configuration_instructions.html.haml @@ -13,12 +13,15 @@ # # Then add the following to config/initializers/errbit.rb # ------------------------------------------------------- + HoptoadNotifier.configure do |config| - config.api_key = '#{app.api_key}' - config.host = '#{request.host}' - config.port = #{request.port} - config.secure = config.port == 443 + config.api_key = '#{app.api_key}' + config.host = '#{request.host}' + config.port = #{request.port} + config.secure = config.port == 443 + config.js_notifier = true end + # # Testing # ------- -- libgit2 0.21.2