From 918811f1be87e4aa53810c7e4329368c44d59447 Mon Sep 17 00:00:00 2001 From: Joshua Priddle Date: Wed, 9 Mar 2011 22:53:26 -0500 Subject: [PATCH] Add config.secure to install instructions --- app/views/apps/_configuration_instructions.html.haml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/apps/_configuration_instructions.html.haml b/app/views/apps/_configuration_instructions.html.haml index 62abcf4..c951c43 100644 --- a/app/views/apps/_configuration_instructions.html.haml +++ b/app/views/apps/_configuration_instructions.html.haml @@ -1,7 +1,7 @@ %pre %code :preserve - + # Require the hoptoad_notifier gem in you App. # -------------------------------------------- # @@ -14,9 +14,10 @@ # 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.api_key = '#{app.api_key}' + config.host = '#{request.host}' + config.port = #{request.port} + config.secure = config.port == 443 end # # Testing @@ -28,5 +29,4 @@ # Run: # rake hoptoad:test # refresh this page - - \ No newline at end of file + -- libgit2 0.21.2