Sha256: 7e4f943af2da541a56c71e6bb986498afc221f63548ec74313338f8f4d8c2d64

Contents?: true

Size: 381 Bytes

Versions: 3

Compression:

Stored size: 381 Bytes

Contents

module Admin
  module Api
    class AvailableModulesController < AdminBaseController
      def index
        render json: [
          {
            "id":   1,
            "name": 'Dashboard',
            "path": '/dashboard'
          },
          {
            "id":   2,
            "name": 'Users',
            "path": '/users'
          }
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
pixelforce_kit-0.9 app/controllers/admin/api/available_modules_controller.rb
pixelforce_kit-4.0.2 app/controllers/admin/api/available_modules_controller.rb
pixelforce-kit-4.0.2 app/controllers/admin/api/available_modules_controller.rb