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-18.2.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-18.1.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-18.0.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-17.0.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-16.2.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-16.1.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-16.0.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-15.6.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-15.5.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-15.4.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-15.3.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-15.2.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-15.1.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-15.0.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-14.1.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-14.0.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-13.1.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-13.0.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-12.3.0 app/controllers/phcpresspro/api/v1/posts_controller.rb
phcpresspro-12.2.1 app/controllers/phcpresspro/api/v1/posts_controller.rb