Sha256: 7471968b201f8380ff38b11140a8a1a3943e437eadd3fa7e7f5613f5af61c8b6

Contents?: true

Size: 459 Bytes

Versions: 12

Compression:

Stored size: 459 Bytes

Contents

class CitationsController < ApplicationController
  include CurationConcerns::CurationConcernController
  include Sufia::Breadcrumbs
  include Sufia::SingularSubresourceController

  before_action :build_breadcrumbs, only: [:work, :file]

  def work
    @presenter_class = Sufia::WorkShowPresenter
    show
  end

  def file
    @presenter_class = Sufia::FileSetPresenter
    show
  end

  protected

    def show_presenter
      @presenter_class
    end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sufia-7.4.1 app/controllers/citations_controller.rb
sufia-7.4.0 app/controllers/citations_controller.rb
sufia-7.3.1 app/controllers/citations_controller.rb
sufia-7.3.0 app/controllers/citations_controller.rb
sufia-7.3.0.rc3 app/controllers/citations_controller.rb
sufia-7.3.0.rc2 app/controllers/citations_controller.rb
sufia-7.3.0.rc1 app/controllers/citations_controller.rb
sufia-7.2.0 app/controllers/citations_controller.rb
sufia-7.1.0 app/controllers/citations_controller.rb
sufia-7.0.0 app/controllers/citations_controller.rb
sufia-7.0.0.rc2 app/controllers/citations_controller.rb
sufia-7.0.0.rc1 app/controllers/citations_controller.rb