lib/gretel/trails/stores/store.rb
# Decode unique trail key to array of links.
Decode unique trail key to array of links.
Decode unique trail key to array of links .
def decode(key)
          if arr = retrieve(key)
            arr.map { |key, text, html_safe, url| Link.new(key.to_sym, (html_safe == 1 ? text.html_safe : text), url) }
          else
            []
          end
        end
def decode ( key ) if arr = retrieve ( key ) arr . map { | key , text , html_safe , url | Link . new ( key . to_sym , ( html_safe == 1 ? text . html_safe : text ) , url ) } else [ ] end end
Decode unique trail key to array of links.
Decode unique trail key to array of links .
key
<not_specific>