Sha256: 5956067a6e0bf0e8d54fb53d666bde45f839865464ba7814532a4039519c9b25

Contents?: true

Size: 457 Bytes

Versions: 60

Compression:

Stored size: 457 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.friendly.find(params[:id])
    end

  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
phcscriptcdnpro-17.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-17.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-16.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-16.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-15.2.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-15.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-15.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-14.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-14.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-13.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-13.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-12.2.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-12.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-12.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-11.3.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-11.2.1 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-11.2.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-11.1.1 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-11.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-11.0.3 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb