f92b1f3d01
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
8 lines
327 B
Text
8 lines
327 B
Text
%span.pull-right
|
|
- if (@wiki && @wiki.persisted?)
|
|
= link_to history_project_wiki_path(@project, @wiki), class: "btn btn-grouped" do
|
|
Page History
|
|
- if can?(current_user, :write_wiki, @project)
|
|
= link_to edit_project_wiki_path(@project, @wiki), class: "btn btn-grouped" do
|
|
%i.icon-edit
|
|
Edit
|