Use key not title for module_app in parser.
Modify announcement routes.
This commit is contained in:
1 parent
e02c675595
commit
8f885e8bb7
4 files changed
+6
-8
No files matched your search
+1
-1
@@ -6,6 +6,6 @@
|
||||
"intro": "A simple blog……",
|
||||
"update_info": "Some info",
|
||||
"create_date": "11-11-2011",
|
||||
"app_pages": ["/panel/announcement/front_end/"],
|
||||
"app_pages": ["bulletins"],
|
||||
"enable_frontend": true
|
||||
}
|
||||
+3
-5
@@ -5,19 +5,17 @@ Rails.application.routes.draw do
|
||||
namespace :back_end do
|
||||
root :to => "bulletins#index"
|
||||
resources :bulletins
|
||||
resources :bulletin_categorys, :controller => 'bulletin_categorys' do
|
||||
match "quick_edit/:bulletin_category_id" => "bulletin_categorys#quick_edit" ,:as => :quick_edit
|
||||
end
|
||||
resources :bulletin_categorys, :controller => 'bulletin_categorys' do
|
||||
match "quick_edit/:bulletin_category_id" => "bulletin_categorys#quick_edit" ,:as => :quick_edit
|
||||
end
|
||||
end
|
||||
namespace :front_end do
|
||||
root :to => "bulletins#index"
|
||||
resources :bulletins
|
||||
match "show/:id" => "bulletins#show" ,:as => :bulletin
|
||||
end
|
||||
namespace :widget do
|
||||
root :to => "bulletins#index"
|
||||
end
|
||||
end
|
||||
end
|
||||
match "/appfront/*path" => redirect("/panel/*path")
|
||||
end
|
||||
Reference in new issue
Block a user