diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index 5b9f868a71a83ef8e1e55d1d2bde735562e74f21..40faf91eadf74e428ef306a7681d1dab01c7c3a1 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -1,3 +1,5 @@ +- current_route_path = request.fullpath.match(/-\/tree\/[^\/]+\/(.+$)/).to_a[1] +- add_page_startup_graphql_call('repository/path_last_commit', { projectPath: @project.full_path, ref: current_ref, path: current_route_path || "" }) - @content_class = "limit-container-width" unless fluid_layout - @skip_current_level_breadcrumb = true