Sha256: 6f64519796adf8b5a922ac826db6da3d081257cb4dab61b6385e3aefad92ca3a

Contents?: true

Size: 455 Bytes

Versions: 9

Compression:

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

9 entries across 9 versions & 1 rubygems

Version Path
phcscriptcdnpro-8.0.2 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-8.0.1 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-8.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-7.1.3 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-7.1.2 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-7.1.1 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-7.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-7.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-6.0.3 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb