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-15.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-14.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-13.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-12.1.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-12.0.1 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-12.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-11.1.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb
phcscriptcdn-11.0.0 app/controllers/phcscriptcdn/frontend/listings_controller.rb