Rails.application.routes.draw do
  get 'organizations/index'

  get 'organizations/show'

  resources :pages, except: [:index]

  namespace :admin do
    DashboardManifest::DASHBOARDS.each do |dashboard_resource|
      resources dashboard_resource
    end

    root controller: DashboardManifest::ROOT_DASHBOARD, action: :index
  end

  devise_for :users

  resources :events, :news_items, :organizations

  root 'home#index'
end

Rails.application.routes.draw do
  get 'organizations/index'

  get 'organizations/show'

  resources :pages

  namespace :admin do
    DashboardManifest::DASHBOARDS.each do |dashboard_resource|
      resources dashboard_resource
    end

    root controller: DashboardManifest::ROOT_DASHBOARD, action: :index
  end

  devise_for :users

  resources :events, :news_items, :organizations

  root 'home#index'
end

--- 
+++ 
@@ -3,7 +3,7 @@
 
   get 'organizations/show'
 
-  resources :pages
+  resources :pages, except: [:index]
 
   namespace :admin do
     DashboardManifest::DASHBOARDS.each do |dashboard_resource|
Remove index route for pages
