Sha256: 7f62dbb41aeb3cad39d03e0276e7f4a5522925569ae5933eab7ee45cd5cb8703
Contents?: true
Size: 453 Bytes
Versions: 50
Compression:
Stored size: 453 Bytes
Contents
module ActiveAdmin module AssetRegistration def register_stylesheet(path, options = {}) stylesheets[path] = options end def stylesheets @stylesheets ||= {} end def clear_stylesheets! stylesheets.clear end def register_javascript(name) javascripts.add name end def javascripts @javascripts ||= Set.new end def clear_javascripts! javascripts.clear end end end
Version data entries
50 entries across 50 versions & 7 rubygems