require_dependency "phcscriptcdnpro/application_controller" module Phcscriptcdnpro class Frontpage::ScriptlistingsController < 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.find(params[:id]) end end end