Sha256: cb393271a1d2bf553f421121d5a2bdff3d012c73e5ea8253322fbd678ff5b553

Contents?: true

Size: 570 Bytes

Versions: 6

Compression:

Stored size: 570 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

6 entries across 6 versions & 1 rubygems

Version Path
phcmembers-14.0.1 app/controllers/phcmembers/directory/categorylistings_controller.rb
phcmembers-14.0.0 app/controllers/phcmembers/directory/categorylistings_controller.rb
phcmembers-13.0.0 app/controllers/phcmembers/directory/categorylistings_controller.rb
phcmembers-12.5.0 app/controllers/phcmembers/directory/categorylistings_controller.rb
phcmembers-12.4.0 app/controllers/phcmembers/directory/categorylistings_controller.rb
phcmembers-12.2.1 app/controllers/phcmembers/directory/categorylistings_controller.rb