Commit e8dd344466586bf73bfecf40c81a54e626f98e2d

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

add :preserve but indent 1 more tab

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