Add panel namespace
This commit is contained in:
1 parent
314f6d5219
commit
cd21cadfe7
8 files changed
+61
-79
No files matched your search
+4
-2
@@ -6,8 +6,10 @@ ActionController::Routing::Routes.draw do |map|
|
||||
admin.resources :pages
|
||||
admin.resources :layouts
|
||||
admin.resources :snippets
|
||||
|
||||
admin.resources :announcements
|
||||
end
|
||||
|
||||
map.namespace :panel do |panel|
|
||||
panel.resources :announcements
|
||||
end
|
||||
|
||||
# The priority is based upon order of creation: first created -> highest priority.
|
||||
|
||||
Reference in new issue
Block a user