Sha256: b57d0f552e891c5646b861483e0e5c4a3ef3ed3090978ebd6004cc7b4fc85a0e

Contents?: true

Size: 409 Bytes

Versions: 18

Compression:

Stored size: 409 Bytes

Contents

require_dependency "phcpress/application_controller"

module Phcpress
  class Frontend::ArticlesController < ApplicationController

    # Security & Filters
    layout '/layouts/phcpress/frontend.html.erb'

    # Article Index
    def index
      @articles_index = Articles::Post.all
    end

    # Single Article Post
    def show
      @articles_single = Articles::Post.find(params[:id])
    end

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
phcpress-15.0.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-14.1.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-13.0.1 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-13.0.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-12.3.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-12.2.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-12.1.1 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-12.1.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-12.0.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-11.2.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-11.0.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-10.0.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-9.1.2 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-9.1.1 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-9.1.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-9.0.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-8.0.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-8.0.0b app/controllers/phcpress/frontend/articles_controller.rb