Sha256: 94ac37301ffab8c5a39a9161d0422f3c03edaa77e28537b85e66d313230559cf

Contents?: true

Size: 130 Bytes

Versions: 4

Compression:

Stored size: 130 Bytes

Contents

class Api::V1::CategoryController < Api::ApiController

  def categories
    render json: current_site.full_categories
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
camaleon_cms-1.0.8 app/controllers/api/v1/category_controller.rb
camaleon_cms-1.0.7 app/controllers/api/v1/category_controller.rb
camaleon_cms-1.0.6 app/controllers/api/v1/category_controller.rb
camaleon_cms-1.0.5 app/controllers/api/v1/category_controller.rb