blob: 68b287bfdc59404c0f7c15841f25c7aa40f44be0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
- page_title "代码片段"
- header_title "代码片段", snippets_path
- if current_user
= render 'dashboard/snippets_head'
- else
= render 'explore/head'
.gray-content-block
- if current_user
.pull-right
= link_to new_snippet_path, class: "btn btn-new", title: "新代码片段" do
= icon('plus')
新代码片段
.oneline
你和其他用户创建的公开代码片段都会显示在这里
= render 'snippets/snippets'
|