Fixed wiki module.
This commit is contained in:
parent
d5552059ce
commit
772cf87c92
12 changed files with 25 additions and 43 deletions
|
|
@ -30,7 +30,7 @@ Foodsoft::Application.routes.draw do
|
|||
get :version, :on => :member
|
||||
get :revert, :on => :member
|
||||
end
|
||||
match '/wiki/:permalink' => 'pages#show', :constraints => {:permalink => /[^\s]+/}, :as => 'wiki_page'
|
||||
match '/wiki/:permalink' => 'pages#show', :as => 'wiki_page' # , :constraints => {:permalink => /[^\s]+/}
|
||||
match '/wiki' => 'pages#show', :defaults => {:permalink => 'Home'}, :as => 'wiki'
|
||||
|
||||
############ Orders, ordering
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue