Change wiki-parser again. Now wikitext is used.
This commit is contained in:
parent
eddf20b063
commit
434fc4b2ff
6 changed files with 43 additions and 30 deletions
|
|
@ -1,6 +1,6 @@
|
|||
ActionController::Routing::Routes.draw do |map|
|
||||
map.resources :pages, :collection => { :all => :get }, :member => {:version => :get, :revert => :get}
|
||||
map.wiki_page "/wiki/:permalink", :controller => 'pages', :action => 'show'
|
||||
map.wiki_page "/wiki/:permalink", :controller => 'pages', :action => 'show', :permalink => /[\w\._\-\%\d]+/
|
||||
map.wiki "/wiki", :controller => 'pages', :action => 'show', :permalink => 'home'
|
||||
|
||||
map.logout '/logout', :controller => 'login', :action => 'logout'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue