Sha256: f46c8cd30481e9fe35f92eb2a37b0d0540ac95bc9991bcd4bbc3a3698474c569

Contents?: true

Size: 659 Bytes

Versions: 19

Compression:

Stored size: 659 Bytes

Contents

TranslationCenter::Engine.routes.draw do
  
  resources :translations do
    post :vote
    post :unvote
    post :accept
    post :unaccept
  end

  resources :translation_keys do
    post :update_translation
    get :translations
  end

  resources :categories  do
    get :more_keys
  end

  get '/dashboard' => 'center#dashboard', as: :dashboard
  get '/search_activity' => 'center#search_activity', as: :search_activity

  root to: 'categories#index'

  # set the language from and to for the user
  match "/set_language_from" => 'center#set_language_from', as: :set_lang_from
  match "/set_language_to" => 'center#set_language_to', as: :set_lang_to
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
translation_center-1.0.4 config/routes.rb
translation_center-1.0.3 config/routes.rb
translation_center-1.0.2 config/routes.rb
translation_center-1.0.1 config/routes.rb
translation_center-1.0.0 config/routes.rb
translation_center-0.0.14 config/routes.rb
translation_center-0.0.13 config/routes.rb
translation_center-0.0.12 config/routes.rb
translation_center-0.0.11 config/routes.rb
translation_center-0.0.10 config/routes.rb
translation_center-0.0.9 config/routes.rb
translation_center-0.0.8 config/routes.rb
translation_center-0.0.7 config/routes.rb
translation_center-0.0.6 config/routes.rb
translation_center-0.0.5 config/routes.rb
translation_center-0.0.4 config/routes.rb
translation_center-0.0.3 config/routes.rb
translation_center-0.0.2 config/routes.rb
translation_center-0.0.1 config/routes.rb