lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-2.6.1 vs lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-2.7.0
- old
+ new
@@ -323,6 +323,13 @@
#
# By default ActiveAdmin::OrderClause is used for sorting logic
# You can inherit it with own class and inject it for all resources
#
# config.order_clause = MyOrderClause
+
+ # == Webpacker
+ #
+ # By default, Active Admin uses Sprocket's asset pipeline.
+ # You can switch to using Webpacker here.
+ #
+ <% unless @use_webpacker %># <% end %>config.use_webpacker = true
end