Sha256: bb6b8ce987a084df8f67ef9b0dde6e67fc0d83c9eacd75f2c126d003bf3a78c9

Contents?: true

Size: 610 Bytes

Versions: 1

Compression:

Stored size: 610 Bytes

Contents

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

        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"
      match "search_for", :to => "search#perform"

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
interpret-0.1.5 config/routes.rb