I’m trying to figure out how to access the value of an instance variable
that gets setup on SiteController when my extension is activated. I’d
like to use this value in a tag, but I can’ figure out how to access
that variable from the tag.
If I setup a tag that just dumps the page.inspect, like the tag below, I
can see the instance variable in the output, but I just can’t figure out
how to grab it.
tag ‘inspect_page’ do |tag|
I’d like to be able to do something like
tag ‘my_instance_variable’ do |tag|
# @my_instance_variable is defined in SiteController on extension
Anyone know how to do this?