Sha256: 903c57affe9918c92d343ca6cadee677ce4c01f0c45b3b7d5148d340ae20edf0

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

module ActionDispatch::Routing
  class Mapper
    def mount_simpleadmin
      namespace :simple_admin do
        resources :entities, only: %i[index show]
        resources :entity_field_type_actions, only: :create

        resources :resources do
          get :show_by,    on: :collection
          get :show_total, on: :collection
        end

        get 'version', to: 'versions#show'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simpleadmin-1.4.0 lib/simpleadmin/routes.rb
simpleadmin-1.3.0 lib/simpleadmin/routes.rb