lib/light_admin/header.rb in light_admin-1.1.0 vs lib/light_admin/header.rb in light_admin-1.1.1
- old
+ new
@@ -1,7 +1,7 @@
ActiveAdmin::Views::Header.class_eval do
def build(namespace, menu)
- super(id: 'header')
+ super(id: 'header', 'data-env': Rails.env)
@namespace = namespace
@menu = menu
@utility_menu = @namespace.fetch_menu(:utility_navigation)