We're going to make this search component more generic, but for now, we're keeping the exact same behavior we had.
8 lines
120 B
Ruby
8 lines
120 B
Ruby
class Admin::SearchComponent < ApplicationComponent
|
|
attr_reader :url
|
|
|
|
def initialize(url:)
|
|
@url = url
|
|
end
|
|
end
|