Sha256: e9fd1059718ff5acd4da9df641ed79bcdab67097e305ed50c78af83a056dd0d1

Contents?: true

Size: 307 Bytes

Versions: 16

Compression:

Stored size: 307 Bytes

Contents

require_dependency "phcpress/application_controller"

module Phcpress
  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

16 entries across 16 versions & 1 rubygems

Version Path
phcpress-13.0.1 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-13.0.0 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-12.3.0 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-12.2.0 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-12.1.1 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-12.1.0 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-12.0.0 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-11.2.0 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-11.0.0 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-10.0.0 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-9.1.2 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-9.1.1 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-9.1.0 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-9.0.0 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-8.0.0 app/controllers/phcpress/api/v1/posts_controller.rb
phcpress-8.0.0b app/controllers/phcpress/api/v1/posts_controller.rb