Commit ba0f9a37ad842720662056d0ae87df78e379c1a6

Authored by Nick Recobra
2 parents 4bf7dbac 918811f1
Exists in master and in 1 other branch production

Merge branch 'tweak_install_instructions' of https://github.com/itspriddle/errbi…

…t into itspriddle-tweak_install_instructions
app/views/apps/_configuration_instructions.html.haml
1 %pre 1 %pre
2 %code 2 %code
3 :preserve 3 :preserve
4 - 4 +
5 # Require the hoptoad_notifier gem in you App. 5 # Require the hoptoad_notifier gem in you App.
6 # -------------------------------------------- 6 # --------------------------------------------
7 # 7 #
@@ -14,9 +14,10 @@ @@ -14,9 +14,10 @@
14 # Then add the following to config/initializers/errbit.rb 14 # Then add the following to config/initializers/errbit.rb
15 # ------------------------------------------------------- 15 # -------------------------------------------------------
16 HoptoadNotifier.configure do |config| 16 HoptoadNotifier.configure do |config|
17 - config.api_key = '#{app.api_key}'  
18 - config.host = '#{request.host}'  
19 - config.port = #{request.port} 17 + config.api_key = '#{app.api_key}'
  18 + config.host = '#{request.host}'
  19 + config.port = #{request.port}
  20 + config.secure = config.port == 443
20 end 21 end
21 # 22 #
22 # Testing 23 # Testing
@@ -28,5 +29,4 @@ @@ -28,5 +29,4 @@
28 # Run: 29 # Run:
29 # rake hoptoad:test 30 # rake hoptoad:test
30 # refresh this page 31 # refresh this page
31 -  
32 -  
33 \ No newline at end of file 32 \ No newline at end of file
  33 +