diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-03-14 20:58:52 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-03-16 18:37:22 +0300 |
commit | c52fead0d2715b27a7f832c8d848a12d3dd84bae (patch) | |
tree | 49428e3ff85c2903bdfc5c00cf11f707782d3b29 /app/views/projects/snippets | |
parent | 95b3b6859a150606586854a666b8163bec21a154 (diff) |
Fix spec
Diffstat (limited to 'app/views/projects/snippets')
-rw-r--r-- | app/views/projects/snippets/show.html.haml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/views/projects/snippets/show.html.haml b/app/views/projects/snippets/show.html.haml index 6b3d7d4008b..e35385f4cab 100644 --- a/app/views/projects/snippets/show.html.haml +++ b/app/views/projects/snippets/show.html.haml @@ -4,13 +4,7 @@ .project-snippets %article.file-holder.snippet-file-content - .js-file-title.file-title - = blob_icon 0, @snippet.file_name - = @snippet.file_name - .file-actions - = clipboard_button(clipboard_target: ".blob-content[data-blob-id='#{@snippet.id}']", class: "btn btn-sm") - = link_to 'Raw', raw_namespace_project_snippet_path(@project.namespace, @project, @snippet), class: "btn btn-sm", target: "_blank" - = render 'shared/snippets/blob' + = render 'shared/snippets/blob', raw_path: raw_namespace_project_snippet_path(@project.namespace, @project, @snippet) .row-content-block.top-block.content-component-block = render 'award_emoji/awards_block', awardable: @snippet, inline: true |