add route for wiki parent page

This commit is contained in:
EricTYL 2019-11-28 16:40:59 +08:00
parent af163af3e7
commit 14fa1cc534
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Rails.application.routes.draw do
resources :page_contents do
member do
get "view" => "page_contents#view"
get "wiki_parent" => "page_contents#wiki_parent"
end
end
resources :wiki_pages