Sha256: 1c63e838764acb359a6b032f1d64ae26fc820f01f7f7d5480aa1c267393267cb
Contents?: true
Size: 285 Bytes
Versions: 6
Compression:
Stored size: 285 Bytes
Contents
module PolicyManager class JsonLink def self.render(collection = nil) ActionController::Base.helpers.content_tag(:a, "Open as JSON", href: link(collection), target: '_blank') end private def self.link(collection) return "./data.json" end end end
Version data entries
6 entries across 6 versions & 1 rubygems