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 1 %pre
2 2 %code
3 3 :preserve
4   -
  4 +
5 5 # Require the hoptoad_notifier gem in you App.
6 6 # --------------------------------------------
7 7 #
... ... @@ -14,9 +14,10 @@
14 14 # Then add the following to config/initializers/errbit.rb
15 15 # -------------------------------------------------------
16 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 21 end
21 22 #
22 23 # Testing
... ... @@ -28,5 +29,4 @@
28 29 # Run:
29 30 # rake hoptoad:test
30 31 # refresh this page
31   -
32   -
33 32 \ No newline at end of file
  33 +
... ...