Sha256: 64cea8f83a6ede0f67017ddeb52726c51fbbbb82e08902f37eb2fb61a8acbb1b

Contents?: true

Size: 844 Bytes

Versions: 6

Compression:

Stored size: 844 Bytes

Contents

Vulgata::Engine.routes.draw do
  get 'activity/index'

  get 'team/', to: 'team#index'
  get 'team/:user_type/:user_id', to: 'team#show', as: 'vulgata_user'
  patch 'team/:user_type/:user_id', to: 'team#update'

  get 'admin/dashboard', to: 'admin#index'
  get 'admin/:resource', to: 'translations#index', as: 'admin_resource'
  get 'admin/:resource/:id', to: 'translations#show', as: 'admin_translations'

  get '/get_suggested_translation', to: 'translations#get_suggested_translation', as: 'get_suggested_translation'

  resources :translation_states do
    resource :translations, only: [:create, :update, :edit]
  end

  get 'translate', to: 'translations#new'
  get 'proofread', to: 'translation_states#proofread'

  # translating new item from the queue
  resource :translations, only: [:new]

  root to: "application#root_redirect"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vulgata-0.3.7 config/routes.rb
vulgata-0.3.6 config/routes.rb
vulgata-0.3.5 config/routes.rb
vulgata-0.3.4 config/routes.rb
vulgata-0.3.3 config/routes.rb
vulgata-0.3.1 config/routes.rb