Sha256: bad0cf8155e6413c3dfa77068dff221fe83510aa89936f377090bc1b33cfb9c2

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

require_dependency "phcscriptcdnpro/application_controller"

module Phcscriptcdnpro
  class Frontend::ListingsController < ApplicationController

    # Change Layout
    layout '/layouts/phcscriptcdnpro/frontend.html.erb'
    
    # Script Listing Index
    def index
      @script_listings_index = Script::Listing.all
    end
    
    # Script Listing Post
    def show
      @script_listings_single = Script::Listing.find(params[:id])
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcscriptcdnpro-6.0.2 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-6.0.1 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb