Sha256: 2f86a67a062091fc755470be557b52d891a8608b1f61756fc810a6c5d908069e

Contents?: true

Size: 420 Bytes

Versions: 12

Compression:

Stored size: 420 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

12 entries across 12 versions & 1 rubygems

Version Path
phcpress-7.1.2 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-7.1.1 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-7.1.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-7.0.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.7.3 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.7.2 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.7.1 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.7.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.6.6 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.6.5 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.6.4 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.6.3 app/controllers/phcpress/frontend/articles_controller.rb