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

Version Path
keppler-2.1.22 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.21 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.20 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.19 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.18 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.17 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.16 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.15 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.14 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.13 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.12 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.11 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.10 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.9 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.8 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.7 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.6 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.5 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.4 installer/core/rockets/keppler_languages/config/routes.rb
keppler-2.1.3 installer/core/rockets/keppler_languages/config/routes.rb