2015-04-30 13:06:18 -04:00
|
|
|
- page_title "Snippets"
|
2015-09-17 06:16:24 -04:00
|
|
|
|
2016-07-11 17:16:57 -04:00
|
|
|
.sub-header-block
|
2015-10-18 07:03:26 -04:00
|
|
|
.pull-right
|
2016-06-29 12:08:05 -04:00
|
|
|
- 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
|
2013-08-12 05:08:52 -04:00
|
|
|
|
2015-10-18 07:03:26 -04:00
|
|
|
.oneline
|
|
|
|
Share code pastes with others out of git repository
|
2013-08-12 05:08:52 -04:00
|
|
|
|
2015-10-18 07:03:26 -04:00
|
|
|
= render 'snippets/snippets'
|