Commit f7db95e6 authored by Phil Hughes's avatar Phil Hughes

Merge branch '293855-move-pathlastcommit-query-startupjs' into 'master'

Prefetch pathLastCommit GraphQL with StartupJS

See merge request gitlab-org/gitlab!51429
parents 95b159eb 76e51f53
- 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment