This way it'll be easier to refactor them. We're also giving a proper title to the images index page.
8 lines
160 B
Ruby
8 lines
160 B
Ruby
class Admin::SiteCustomization::Images::TableActionsComponent < ApplicationComponent
|
|
attr_reader :image
|
|
|
|
def initialize(image)
|
|
@image = image
|
|
end
|
|
end
|