require_dependency "phcscriptcdnpro/application_controller" module Phcscriptcdnpro class Cdnsite::CdnpagesController < ApplicationController # Security & Action Filters layout '/layouts/phcscriptcdnpro/frontend.html.erb' # Script List FrontEnd def index @script_listings = Script::Listing.all end # Script List BackEnd def show @script_listing = Script::Listing.find(params[:id]) end end end