Commit d9f6fd3f991ad68c7dd735783bfd2dc6357ca0da

Authored by Dean Perry
1 parent 9dbff35a
Exists in master and in 1 other branch production

fixed haml indenting

app/views/apps/_configuration_instructions.html.haml
1 1 %pre
2   - %code
3   - :preserve
  2 + %code
  3 + :preserve
  4 + # Require the hoptoad_notifier gem in your App.
  5 + # ---------------------------------------------
  6 + #
  7 + # Rails 3 - In your Gemfile
  8 + # gem 'airbrake'
  9 + #
  10 + # Rails 2 - In environment.rb
  11 + # config.gem 'airbrake'
  12 + #
  13 + # Then add the following to config/initializers/errbit.rb
  14 + # -------------------------------------------------------
4 15  
5   - # Require the hoptoad_notifier gem in your App.
6   - # ---------------------------------------------
7   - #
8   - # Rails 3 - In your Gemfile
9   - # gem 'airbrake'
10   - #
11   - # Rails 2 - In environment.rb
12   - # config.gem 'airbrake'
13   - #
14   - # Then add the following to config/initializers/errbit.rb
15   - # -------------------------------------------------------
  16 + Airbrake.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
  21 + end
16 22  
17   - Airbrake.configure do |config|
18   - config.api_key = '#{app.api_key}'
19   - config.host = '#{request.host}'
20   - config.port = #{request.port}
21   - config.secure = config.port == 443
22   - end
23   -
24   - # Set up Javascript notifications
25   - # -------------------------------
26   - #
27   - # To receive notifications for javascript errors,
28   - # you should add <%= airbrake_javascript_notifier %> to the top of your layouts.
29   - #
30   - # Testing
31   - # -------
32   - #
33   - # Rails 2 - you'll need to vendor airbrake to get the rake tasks
34   - # rake gems:unpack GEM=airbrake
35   - #
36   - # Run:
37   - # rake airbrake:test
38   - # refresh this page
  23 + # Set up Javascript notifications
  24 + # -------------------------------
  25 + #
  26 + # To receive notifications for javascript errors,
  27 + # you should add <%= airbrake_javascript_notifier %> to the top of your layouts.
  28 + #
  29 + # Testing
  30 + # -------
  31 + #
  32 + # Rails 2 - you'll need to vendor airbrake to get the rake tasks
  33 + # rake gems:unpack GEM=airbrake
  34 + #
  35 + # Run:
  36 + # rake airbrake:test
  37 + # refresh this page
39 38  
... ...