Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

errors and occurences have aproject as parent

  • Loading branch information...
commit cd0938e45473cf724ecff2e0c3c64f7919751c28 1 parent e776705
Simon Menke fd authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 app/helpers/application_helper.rb
4 app/helpers/application_helper.rb
@@ -155,6 +155,10 @@ def breadcrumb_root
155 155 @breadcrumb_root = { :text => 'Users', :link => admin_users_path }
156 156 elsif @project or @projects
157 157 @breadcrumb_root = { :text => 'Projects', :link => root_path }
  158 + elsif @error or @errors
  159 + @breadcrumb_root = { :text => 'Projects', :link => root_path }
  160 + elsif @occurence or @occurences
  161 + @breadcrumb_root = { :text => 'Projects', :link => root_path }
158 162 elsif @user_session
159 163 @breadcrumb_root = { :text => 'Login', :link => new_user_session_path }
160 164 else

0 comments on commit cd0938e

Please sign in to comment.
Something went wrong with that request. Please try again.