Sha256: afc71d61389e989d82cf016bc854e64dca59af4b4e2c369da7d5c719e9ae10e6

Contents?: true

Size: 448 Bytes

Versions: 48

Compression:

Stored size: 448 Bytes

Contents

require_dependency "phcscriptcdn/application_controller"

module Phcscriptcdn
  class Frontend::ListingsController < ApplicationController

    # Change Layout
    layout '/layouts/phcscriptcdn/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

48 entries across 48 versions & 1 rubygems

Version Path
phcscriptcdn-48.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-47.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-44.1.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-45.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-44.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-43.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-42.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-41.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-40.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-38.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-37.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-36.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-35.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-34.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-33.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-32.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-31.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-30.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-29.2.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-29.1.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb