diff --git a/lib/active_admin.rb b/lib/active_admin.rb
index <HASH>..<HASH> 100644
--- a/lib/active_admin.rb
+++ b/lib/active_admin.rb
@@ -125,6 +125,10 @@ module ActiveAdmin
 
       yield self
 
+      generate_stylesheets
+    end
+
+    def generate_stylesheets
       # Setup SASS
       require 'sass/plugin' # This must be required after initialization
       Sass::Plugin.add_template_location(File.expand_path("../active_admin/stylesheets/", __FILE__), File.join(Rails.root, "public/stylesheets/admin"))
extract stylesheet generation to its own method.