Add announcement admin and view template
This commit is contained in:
1 parent
4807066c68
commit
5570a2dfbf
12 files changed
+145
-115
No files matched your search
+3
-3
@@ -1,6 +1,4 @@
|
||||
ActionController::Routing::Routes.draw do |map|
|
||||
map.resources :announcements
|
||||
|
||||
|
||||
map.resources :announcements
|
||||
|
||||
@@ -8,6 +6,8 @@ ActionController::Routing::Routes.draw do |map|
|
||||
admin.resources :pages
|
||||
admin.resources :layouts
|
||||
admin.resources :snippets
|
||||
|
||||
admin.resources :announcements
|
||||
end
|
||||
|
||||
# The priority is based upon order of creation: first created -> highest priority.
|
||||
@@ -42,7 +42,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||
# end
|
||||
|
||||
# You can have the root of your site routed with map.root -- just remember to delete public/index.html.
|
||||
# map.root :controller => "welcome"
|
||||
map.root :controller => "pages"
|
||||
|
||||
# See how all your routes lay out with "rake routes"
|
||||
|
||||
|
||||
Reference in new issue
Block a user