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-29.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-28.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-27.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-26.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-25.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-24.0.1 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-24.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-23.1.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-23.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-22.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-21.2.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-21.1.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-21.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-20.0.1 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-20.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-19.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-18.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-17.0.1 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-17.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-16.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb