Commit f42acdcde53495eafcc8e9ecf7ec20abd540bf21
1 parent
4446bddb
Exists in
master
and in
1 other branch
Added apps.show.js to application.js.erb
Showing
2 changed files
with
1 additions
and
1 deletions
Show diff stats
app/assets/javascripts/application.js.erb
| @@ -6,6 +6,7 @@ | @@ -6,6 +6,7 @@ | ||
| 6 | //= require jquery.alerts | 6 | //= require jquery.alerts |
| 7 | //= require rails.alerts | 7 | //= require rails.alerts |
| 8 | //= require errbit | 8 | //= require errbit |
| 9 | +//= require apps.show | ||
| 9 | //= require_self | 10 | //= require_self |
| 10 | 11 | ||
| 11 | // Allow any gems named 'errbit_*' to require their own assets | 12 | // Allow any gems named 'errbit_*' to require their own assets |
app/views/apps/show.html.haml
| 1 | - content_for :title, @app.name | 1 | - content_for :title, @app.name |
| 2 | - content_for :head do | 2 | - content_for :head do |
| 3 | = auto_discovery_link_tag :atom, app_path(@app, User.token_authentication_key => current_user.authentication_token, :format => "atom"), :title => "Errbit notices for #{@app.name} at #{request.host}" | 3 | = auto_discovery_link_tag :atom, app_path(@app, User.token_authentication_key => current_user.authentication_token, :format => "atom"), :title => "Errbit notices for #{@app.name} at #{request.host}" |
| 4 | - = javascript_include_tag 'apps.show' | ||
| 5 | - content_for :meta do | 4 | - content_for :meta do |
| 6 | %strong Errors Caught: | 5 | %strong Errors Caught: |
| 7 | = @app.problems.count | 6 | = @app.problems.count |