Skip to content

Commit

Permalink
fixing rubocop/debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
hudajkhan committed Dec 12, 2024
1 parent efcd739 commit 80d1b9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions app/components/spotlight/select_image_component.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# frozen_string_literal: true

module Spotlight
# Component to select section of
# Component to select section of image
class SelectImageComponent < ViewComponent::Base

def initialize(document, exhibit, index_id)
super
@document = document
Expand Down
2 changes: 0 additions & 2 deletions app/controllers/spotlight/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ def select_image
@select_id = params[:id]
@select_exhibit = params[:exhibit_id]
@index_id = params[:index_id]
puts "SELECT IMAGE CC: "
puts @index_id
load_document
respond_to :html
end
Expand Down

0 comments on commit 80d1b9c

Please sign in to comment.