Commit 09fc1c22bd5baae5d33828a6df23e2441987498f

Authored by Nathan Broadbent
1 parent 3d7ebed3
Exists in master and in 1 other branch production

Added js_notifier option to configuration instructions.

app/views/apps/_configuration_instructions.html.haml
... ... @@ -13,12 +13,15 @@
13 13 #
14 14 # Then add the following to config/initializers/errbit.rb
15 15 # -------------------------------------------------------
  16 +
16 17 HoptoadNotifier.configure do |config|
17   - config.api_key = '#{app.api_key}'
18   - config.host = '#{request.host}'
19   - config.port = #{request.port}
20   - config.secure = config.port == 443
  18 + config.api_key = '#{app.api_key}'
  19 + config.host = '#{request.host}'
  20 + config.port = #{request.port}
  21 + config.secure = config.port == 443
  22 + config.js_notifier = true
21 23 end
  24 +
22 25 #
23 26 # Testing
24 27 # -------
... ...