Sha256: da32472dcaa4621e6ce7fb702bb379f0791dfa6ef8bcf554971889b2e10daf5c

Contents?: true

Size: 403 Bytes

Versions: 22

Compression:

Stored size: 403 Bytes

Contents

module Garage
  module Meta
    class ServicesController < Garage::ApplicationController
      include Garage::ControllerHelper
      include Garage::RestfulActions

      self.resource_class = Garage::Meta::RemoteService

      def current_resource_owner
        nil
      end

      private

      def require_resources
        @resources = Garage::Meta::RemoteService.all
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
the_garage-2.0.1 app/controllers/garage/meta/services_controller.rb
the_garage-2.0.0 app/controllers/garage/meta/services_controller.rb