```ruby
Teikei::Application.routes.draw do

  # Define routes for regular users
  devise_for :users, controllers: { confirmations: 'confirmations' }

  namespace :api, defaults: {format: :json} do
    namespace :v1 do
      resources :farms, except: [:new, :edit]
      resources :depots, except: [:new, :edit]
      resources :places, only: [:index]
      resources :sessions, only: [:create, :destroy]
      resources :users, only: [:create, :show]
      resources :images, only: [:index, :show, :create, :destroy]
      match "geocode" => 'geocoder#geocode'
      resources :messages, only: [:index, :create]
      match "send_message" => "place_messages#create"
    end
  end

  ActiveAdmin.routes(self)

  root :to => "home#index"
  match "map" => "home#map"

  resources :contact_messages, only: [:new, :create]

  match "contact" => "contact_messages#new"

  match "terms" => "text_blocks#terms"
  match "about" => "text_blocks#about"
  match "imprint" => "text_blocks#imprint"

  match "faq" => "faqs#index"

  # Jasmine test engine
  mount JasmineRails::Engine => "/specs" if defined?(JasmineRails)
end
```

Remove unused imprint route (imprint is on the contact page).
user
```ruby
Teikei::Application.routes.draw do

  # Define routes for regular users
  devise_for :users, controllers: { confirmations: 'confirmations' }

  namespace :api, defaults: {format: :json} do
    namespace :v1 do
      resources :farms, except: [:new, :edit]
      resources :depots, except: [:new, :edit]
      resources :places, only: [:index]
      resources :sessions, only: [:create, :destroy]
      resources :users, only: [:create, :show]
      resources :images, only: [:index, :show, :create, :destroy]
      match "geocode" => 'geocoder#geocode'
      resources :messages, only: [:index, :create]
      match "send_message" => "place_messages#create"
    end
  end

  ActiveAdmin.routes(self)

  root :to => "home#index"
  match "map" => "home#map"

  resources :contact_messages, only: [:new, :create]

  match "contact" => "contact_messages#new"

  match "terms" => "text_blocks#terms"
  match "about" => "text_blocks#about"
  match "faq" => "faqs#index"

  # Jasmine test engine
  mount JasmineRails::Engine => "/specs" if defined?(JasmineRails)
end
```
assistant