Skip to content
Snippets Groups Projects
Commit 25d5c1f6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix last tree breadcrumbs for blob

parent 6d204544
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -7,7 +7,12 @@
\/
%li
- if path
= link_to truncate(title, length: 40), project_tree_path(@project, path)
- if path.end_with?(@path)
= link_to project_blob_path(@project, path) do
%span.cblue
= truncate(title, length: 40)
- else
= link_to truncate(title, length: 40), project_tree_path(@project, path)
- else
= link_to title, '#'
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment