Commit f501cf37da850a3f17d2ffa3da0621f442c4aeaf
1 parent
1e958eb5
Exists in
master
and in
1 other branch
fix indentation in configuration instructions
Showing
1 changed file
with
34 additions
and
34 deletions
Show diff stats
app/views/apps/_configuration_instructions.html.haml
1 | %pre | 1 | %pre |
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 | - # ------------------------------------------------------- | 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 | + # ------------------------------------------------------- | ||
15 | 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 | + 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 | ||
22 | 22 | ||
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 | 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 | ||
38 | 38 |