8 lines
400 B
Text
8 lines
400 B
Text
%span.pull-right
|
|
- if (@page && @page.persisted?)
|
|
= link_to history_namespace_project_wiki_path(@project.namespace, @project, @page), class: "btn btn-grouped" do
|
|
Page History
|
|
- if can?(current_user, :create_wiki, @project)
|
|
= link_to edit_namespace_project_wiki_path(@project.namespace, @project, @page), class: "btn btn-grouped" do
|
|
%i.fa.fa-pencil-square-o
|
|
Edit
|