Sha256: f86c43720745a35d219d31a3a31415d2046dbfe4bd2a658a56926cc431a44554

Contents?: true

Size: 389 Bytes

Versions: 22

Compression:

Stored size: 389 Bytes

Contents

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

      self.resource_class = Garage::Docs::Document

      def current_resource_owner
        nil
      end

      private

      def require_resources
        @resources = Garage::Docs::Document.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/docs_controller.rb
the_garage-2.0.0 app/controllers/garage/meta/docs_controller.rb