summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/_sidebar_wiki_page.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/wikis/_sidebar_wiki_page.html.haml')
-rw-r--r--app/views/projects/wikis/_sidebar_wiki_page.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/wikis/_sidebar_wiki_page.html.haml b/app/views/projects/wikis/_sidebar_wiki_page.html.haml
new file mode 100644
index 00000000000..eb9bd14920d
--- /dev/null
+++ b/app/views/projects/wikis/_sidebar_wiki_page.html.haml
@@ -0,0 +1,3 @@
+%li{ class: params[:id] == wiki_page.slug ? 'active' : '' }
+ = link_to namespace_project_wiki_path(@project.namespace, @project, wiki_page) do
+ = wiki_page.title.capitalize