Previous to this commit the geozone link shown in the legislation proposal page was pointing to the proposals process feature instead to the legislation proposals.
10 lines
222 B
Ruby
10 lines
222 B
Ruby
class Shared::GeozoneLinkComponent < ApplicationComponent
|
|
attr_reader :geozonable, :link
|
|
delegate :geozone_name, to: :helpers
|
|
|
|
def initialize(geozonable, link)
|
|
@geozonable = geozonable
|
|
@link = link
|
|
end
|
|
end
|