blob: 1646bcf4b8ab023bd9e6cf694a61caecace0bf10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
- page_title "Snippets"
.sub-header-block
.pull-right
- if can?(current_user, :create_project_snippet, @project)
= link_to new_namespace_project_snippet_path(@project.namespace, @project), class: "btn btn-new", title: "New Snippet" do
New Snippet
.oneline
Share code pastes with others out of git repository
= render 'snippets/snippets'
|