Sha256: 11747b45b21e88a9b7949686d1fa4da9aa681addfb4965ca9f6396343383155a
Contents?: true
Size: 739 Bytes
Versions: 3
Compression:
Stored size: 739 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 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
interpret-1.0.2 | config/routes.rb |
interpret-1.0.1 | config/routes.rb |
interpret-1.0.0 | config/routes.rb |