Sha256: 8d60f371501191f7c630c62a130779e064d09466ee0fa61c8351c1f52c8688be
Contents?: true
Size: 591 Bytes
Versions: 3
Compression:
Stored size: 591 Bytes
Contents
require_dependency "phcmembers/application_controller" module Phcmembers class Directory::CategorylistingsController < ApplicationController # Security & Action Filters before_action :set_paper_trail_whodunnit before_action :set_directory_category, only: [:show] # INDEX - Directory Category/Listings def index @directory_categorylistings = Directory::Categorylisting.all end # DETAILED - Directory Category/Listings def show @directory_categorylistings = Directory::Categorylisting.find(params[:id]) end end end
Version data entries
3 entries across 3 versions & 1 rubygems