Sha256: 2af901ca550cdddc84622be04d3e403218399b57e46911477aab158cee01580e

Contents?: true

Size: 783 Bytes

Versions: 3

Compression:

Stored size: 783 Bytes

Contents

Interpret::Engine.routes.draw do
  scope ":locale" do
    resources :translations, :only => [:destroy, :edit, :update, :create] do
      collection do
        get :live_edit
      end
    end

    resources :tools, :only => :index do
      collection do
        get :export
        post :import
        post :dump
        post :run_update
      end
    end

    match "search", :to => "search#index"
    resources :missing_translations
    match "blank", :to => "missing_translations#blank", :as => "blank_translations"
    match "unused", :to => "missing_translations#unused", :as => "unused_translations"
    match "stale", :to => "missing_translations#stale", :as => "stale_translations"

    root :to => "translations#index"
  end

  match "/", :to => "translations#welcome"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
interpret-1.1.2 config/routes.rb
interpret-1.1.1 config/routes.rb
interpret-1.1.0 config/routes.rb