1.fix parent page 2.add page title
This commit is contained in:
1 parent
38e365e4b5
commit
9f1ba2ae66
9 files changed
+61
-48
No files matched your search
@@ -1,7 +1,12 @@
|
||||
zh_tw:
|
||||
show: 顯示
|
||||
edit: 編輯
|
||||
delete: 刪除
|
||||
|
||||
admin:
|
||||
home: 首頁
|
||||
page: 頁面管理
|
||||
snippet: 片段管理
|
||||
layout: 樣版管理
|
||||
add_chile_page: 新增子頁
|
||||
announcement: 公告管理
|
||||
+1
-1
@@ -50,7 +50,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||
# Note: These default routes make all actions in every controller accessible via GET requests. You should
|
||||
# consider removing the them or commenting them out if you're using named routes and resources.
|
||||
|
||||
map.connect ':page_name', :controller => 'pages', :action => 'show'
|
||||
map.page ':page_name', :controller => 'pages', :action => 'show'
|
||||
|
||||
#map.connect ':controller/:action/:id'
|
||||
#map.connect ':controller/:action/:id.:format'
|
||||
|
||||
Reference in new issue
Block a user