Changes into page_part edition.

Can choose between 'text', 'public_r_tag' and 'widget'
This commit is contained in:
Christophe Vilayphiou committed 2012-02-16 13:09:09 +08:00
1 parent 7ea1745f73
commit e0accbecaa
25 files changed
+119 -179

No files matched your search

@@ -7,5 +7,6 @@
"update_info": "Some info",
"create_date": "11-11-2011",
"app_pages": ["bulletins"],
"widgets": ["bulletins"],
"enable_frontend": true
}
+2 -4
View File
@@ -1,5 +1,4 @@
Rails.application.routes.draw do
namespace :panel do
namespace :announcement do
namespace :back_end do
@@ -15,9 +14,8 @@ Rails.application.routes.draw do
resources :bulletins
end
namespace :widget do
root :to => "bulletins#index"
match "bulletins" => "bulletins#index"
end
end
end
match "/appfront/*path" => redirect("/panel/*path")
end
end
+2 -7
View File
@@ -1,5 +1,4 @@
Rails.application.routes.draw do
namespace :panel do
namespace :new_blog do
namespace :back_end do
@@ -13,13 +12,9 @@ Rails.application.routes.draw do
resources :comments
end
namespace :widget do
root :to => "posts#index"
match "latest_post" => "posts#latest_post"
match "posts" => "posts#index"
match "latest_post" => "posts#latest_post"
end
end
end
# match "appfront/blog/front_end/show/:id" => "posts#frontend_show" ,:as => :appfront_blog_show
match "/appfront/*path" => redirect("/panel/*path")
end
+1 -1
View File
@@ -7,6 +7,6 @@
"update_info": "Some info",
"create_date": "11-11-2011",
"app_pages": ["posts"],
"widgets": ["/latest_post","/"],
"widgets": ["latest_post","posts"],
"enable_frontend": true
}