Sha256: 7dac0a41629588869078ec140133d60b1970caecd165775576e34f95b2485cc1
Contents?: true
Size: 1.03 KB
Versions: 3
Compression:
Stored size: 1.03 KB
Contents
Lit::Engine.routes.draw do if Lit.api_enabled namespace :api do namespace :v1 do get '/last_change' => 'localizations#last_change' resources :locales, :only=>[:index] resources :localization_keys, :only=>[:index] resources :localizations, :only=>[:index] do get 'last_change', :on=>:collection end end end end resources :locales, :only=>[:index, :destroy] do put :hide, :on=>:member end resources :localization_keys, :only=>[:index, :destroy] do member do get :star end collection do get :starred end resources :localizations, :only=>[:edit, :update] do member do get :previous_versions end end end resources :sources do member do get :synchronize end resources :incomming_localizations, :only=>[:index, :destroy] do member do get :accept end collection do get :accept_all post :reject_all end end end root :to=>"dashboard#index" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lit-0.2.1 | config/routes.rb |
lit-0.2.0 | config/routes.rb |
lit-0.1.0 | config/routes.rb |