Redirect /pages/id to /wiki/permalink

This commit is contained in:
Benjamin Meichsner 2009-09-28 15:31:20 +02:00
parent eca24d30f2
commit 7c192bbad3
6 changed files with 18 additions and 18 deletions

View file

@ -6,7 +6,9 @@
%h1 Alle Wikiseiten
%p= link_to "Neue Seite anlegen", new_page_path
#sidebar
#sidebar-links= link_to "Neue Seite anlegen", new_page_path
%table
%tr

View file

@ -14,7 +14,7 @@
= @page.title
#sidebar
#page-versions
#sidebar-links
= link_to "Bearbeiten", edit_page_path(@page)
= link_to_function "Versionen (#{@page.versions.count})", "Element.toggle('versions')"
- unless @page.children.empty?