diff options
Diffstat (limited to 'app/helpers/blame_helper.rb')
-rw-r--r-- | app/helpers/blame_helper.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/helpers/blame_helper.rb b/app/helpers/blame_helper.rb index 5117f7c6d9c..56d651a8b65 100644 --- a/app/helpers/blame_helper.rb +++ b/app/helpers/blame_helper.rb @@ -39,4 +39,12 @@ module BlameHelper row_height_exp = line_count == 1 ? COMMIT_BLOCK_HEIGHT_EXP : total_line_height_exp "contain-intrinsic-size: 1px calc(#{row_height_exp})" end + + def blame_pages_streaming_url(id, project) + namespace_project_blame_page_url(namespace_id: project.namespace, project_id: project, id: id, streaming: true) + end + + def entire_blame_path(id, project) + namespace_project_blame_streaming_path(namespace_id: project.namespace, project_id: project, id: id) + end end |