Commit db7906740826129d1687f532c2bff7e8ae5857ac

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

Only show Application User tab if present

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/views/errs/show.html.haml
... ... @@ -50,7 +50,8 @@
50 50 %ul
51 51 %li= link_to 'Summary', '#summary', :rel => 'summary', :class => 'button'
52 52 %li= link_to 'Backtrace', '#backtrace', :rel => 'backtrace', :class => 'button'
53   - %li= link_to 'Application User', '#user_info', :rel => 'user_info', :class => 'button'
  53 + - if @notice.user_info.present?
  54 + %li= link_to 'Application User', '#user_info', :rel => 'user_info', :class => 'button'
54 55 %li= link_to 'Environment', '#environment', :rel => 'environment', :class => 'button'
55 56 %li= link_to 'Parameters', '#params', :rel => 'params', :class => 'button'
56 57 %li= link_to 'Session', '#session', :rel => 'session', :class => 'button'
... ...