Sha256: 17f6440c591e986540cece9fa6a5b7698969ad32cd45f727eabe36f3d51845b5

Contents?: true

Size: 228 Bytes

Versions: 18

Compression:

Stored size: 228 Bytes

Contents

module Landable
  module Api
    class CategoriesController < ApiController
      def index
        respond_with Category.all
      end

      def show
        respond_with Category.find(params[:id])
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
landable-1.14.0 app/controllers/landable/api/categories_controller.rb
landable-1.13.2 app/controllers/landable/api/categories_controller.rb
landable-1.13.1 app/controllers/landable/api/categories_controller.rb
landable-1.12.3 app/controllers/landable/api/categories_controller.rb
landable-1.12.2 app/controllers/landable/api/categories_controller.rb
landable-1.12.1 app/controllers/landable/api/categories_controller.rb
landable-1.11.1 app/controllers/landable/api/categories_controller.rb
landable-1.11.0 app/controllers/landable/api/categories_controller.rb
landable-1.10.0.rc2 app/controllers/landable/api/categories_controller.rb
landable-1.10.0.rc1 app/controllers/landable/api/categories_controller.rb
landable-1.9.2 app/controllers/landable/api/categories_controller.rb
landable-1.9.1 app/controllers/landable/api/categories_controller.rb
landable-1.9.0 app/controllers/landable/api/categories_controller.rb
landable-1.9.0.rc2 app/controllers/landable/api/categories_controller.rb
landable-1.9.0.rc1 app/controllers/landable/api/categories_controller.rb
landable-1.8.0 app/controllers/landable/api/categories_controller.rb
landable-1.7.1.rc1 app/controllers/landable/api/categories_controller.rb
landable-1.7.0 app/controllers/landable/api/categories_controller.rb