Sha256: 50678d2743eef751bc1a4688757a6ab612e2af58c2eac11097fd97336962c5a3

Contents?: true

Size: 488 Bytes

Versions: 33

Compression:

Stored size: 488 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.where(org_id: current_user.org_id)
    end

    # Script Listing Post
    def show
      @script_listings_single = Script::Listing.friendly.find(params[:id])
    end

  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
phcscriptcdnpro-52.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-51.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-50.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-49.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-48.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-47.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-46.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-45.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-45.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-44.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-43.2.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-43.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-43.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-42.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-41.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-40.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-40.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-39.0.1 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-39.0.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb
phcscriptcdnpro-38.1.0 app/controllers/phcscriptcdnpro/frontend/listings_controller.rb