Sha256: c0accd39257b0a6497a5bd5c0a9af876bd5377d80c956467fd9e4570b50a0a2d

Contents?: true

Size: 465 Bytes

Versions: 6

Compression:

Stored size: 465 Bytes

Contents

module Refinery
  module Jobs
    class JobsController < ::ApplicationController
      include ControllerHelper

      before_action :find_page
      before_action :find_all_jobs, only: :index
      before_action :find_job, only: :show

      before_action :new_job_applicaton, only: [:index, :show]

      def show
        @breadcrumb = OpenStruct.new({
          title: @job.title,
          url: refinery.jobs_job_url(@job)
        })
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-jobs-3.0.6 app/controllers/refinery/jobs/jobs_controller.rb
refinerycms-jobs-3.0.5 app/controllers/refinery/jobs/jobs_controller.rb
refinerycms-jobs-3.0.4 app/controllers/refinery/jobs/jobs_controller.rb
refinerycms-jobs-3.0.3 app/controllers/refinery/jobs/jobs_controller.rb
refinerycms-jobs-3.0.2 app/controllers/refinery/jobs/jobs_controller.rb
refinerycms-jobs-3.0.1 app/controllers/refinery/jobs/jobs_controller.rb