Sha256: e4e85661b2f7154738d18e01499d86f3f73540608c9b29abdcd8e4e2c4d95782

Contents?: true

Size: 313 Bytes

Versions: 45

Compression:

Stored size: 313 Bytes

Contents

require_dependency "phcpresspro/application_controller"

module Phcpresspro
  class Api::V1::PostsController < ApplicationController

    # Only Responds to API Requests
    respond_to :json

    # Article Category API
    def index
      @articles_posts = Articles::Post.order('psttitle ASC')
    end

  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
phcpresspro-7.0.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-6.9.1 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-6.9.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-6.8.5 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-6.8.0 app/controllers/phcpresspro/api/v1/posts_controller.rb