Sha256: 8df815c17faa5e102a2081c69d637c090c271c1b44ce43b98c5b52436058091b

Contents?: true

Size: 452 Bytes

Versions: 3

Compression:

Stored size: 452 Bytes

Contents

Rails.application.routes.draw do
  scope Interpret.scope do
    namespace :interpret do
      resources :translations, :only => [:edit, :update]

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

      match "search", :to => "search#index"
      match "search_for", :to => "search#perform"

      root :to => "translations#index"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
interpret-0.1.3 config/routes.rb
interpret-0.1.2 config/routes.rb
interpret-0.1.1 config/routes.rb