Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

errors and occurences have aproject as parent

  • Loading branch information...
commit cd0938e45473cf724ecff2e0c3c64f7919751c28 1 parent e776705
@fd fd authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 app/helpers/application_helper.rb
View
4 app/helpers/application_helper.rb
@@ -155,6 +155,10 @@ def breadcrumb_root
@breadcrumb_root = { :text => 'Users', :link => admin_users_path }
elsif @project or @projects
@breadcrumb_root = { :text => 'Projects', :link => root_path }
+ elsif @error or @errors
+ @breadcrumb_root = { :text => 'Projects', :link => root_path }
+ elsif @occurence or @occurences
+ @breadcrumb_root = { :text => 'Projects', :link => root_path }
elsif @user_session
@breadcrumb_root = { :text => 'Login', :link => new_user_session_path }
else
Please sign in to comment.
Something went wrong with that request. Please try again.