1
2
3
4
5
6
7
8
resources :sites do
    resources :documents
    resources :element_types do
      resources :elements
    end
    resources :elements, only: [:index]
    resource :search_and_replace, only: [:show]
  end