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 @scriptcdn_mains = Scriptcdn::Main.all end # Script List BackEnd def show @scriptcdn_main = Scriptcdn::Main.find(params[:id]) end end end