1.fix parent page 2.add page title

This commit is contained in:
Wen-Tien Chang committed 2010-01-08 18:36:36 +08:00
1 parent 38e365e4b5
commit 9f1ba2ae66
9 files changed
+61 -48

No files matched your search

+5
View File
@@ -1,7 +1,12 @@
zh_tw:
show: 顯示
edit: 編輯
delete: 刪除
admin:
home: 首頁
page: 頁面管理
snippet: 片段管理
layout: 樣版管理
add_chile_page: 新增子頁
announcement: 公告管理
+1 -1
View File
@@ -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'