Sha256: 9533f21ce9fddc34a0ac32621bdaffc895ec2a343c19ade7f9bc932f95ea7961
Contents?: true
Size: 1.49 KB
Versions: 24
Compression:
Stored size: 1.49 KB
Contents
KepplerLanguages::Engine.routes.draw do namespace :admin do scope :locales, as: :languages do resources :fields do get '(page/:page)', action: :index, on: :collection, as: '' get '/clone', action: 'clone' post '/sort', action: :sort, on: :collection post '/upload', action: 'upload', as: 'upload' get '/download', action: 'download', as: 'download' get( '/reload', action: :reload, on: :collection, ) delete( '/destroy_multiple', action: :destroy_multiple, on: :collection, as: :destroy_multiple ) end resources :languages do get '(page/:page)', action: :index, on: :collection, as: '' delete '/destroy_field/:field_id', action: :destroy_field, as: :destroy_field get '/clone', action: 'clone' post '/sort', action: :sort, on: :collection post '/upload', action: 'upload', as: 'upload' get '/download', action: 'download', as: 'download' get '/add_fields', action: 'add_fields', as: 'add_fields' post '/create_fields', action: 'create_fields', as: 'create_fields' post '/toggle', action: 'toggle', as: 'toggle' get( '/reload', action: :reload, on: :collection, ) delete( '/destroy_multiple', action: :destroy_multiple, on: :collection, as: :destroy_multiple ) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems