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