Sha256: cad2d2a0ff5e2dede2129cfa779b88597414ff05fd14832488869c7dcefd300a

Contents?: true

Size: 458 Bytes

Versions: 11

Compression:

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

11 entries across 11 versions & 1 rubygems

Version Path
phcscriptcdnpro-6.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-5.10.3 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-5.10.1 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-5.10.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-5.9.5 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-5.9.1 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-5.9.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-5.8.9 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-5.8.7 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-5.8.6 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-5.8.5 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb