Files
adamantium/lib/adamantium/context.rb
2023-01-27 22:55:09 +11:00

15 lines
285 B
Ruby

module Adamantium
class Context < Hanami::View::Context
def initialize(**options)
@options = options
super(**options)
end
def link_active? path
# TODO: waiting for Hanami View to be released
# to access current_path
false
end
end
end