Sha256: b72a520114f13d0ad90f96d6cd56ff3e457c10779c84288a2d54440f7959f145

Contents?: true

Size: 579 Bytes

Versions: 2

Compression:

Stored size: 579 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.friendly.find(params[:id])
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcmembers-11.0.0 app/controllers/phcmembers/directory/categorylistings_controller.rb
phcmembers-10.0.0 app/controllers/phcmembers/directory/categorylistings_controller.rb