lib/archangel/engine.rb in archangel-0.0.5 vs lib/archangel/engine.rb in archangel-0.0.6
- old
+ new
@@ -51,9 +51,13 @@
app.config.assets.precompile << file if file_path =~ allowed_regex
end
end
end
+ config.after_initialize do
+ Rails.application.routes_reloader.reload!
+ end
+
config.action_controller.include_all_helpers = false
config.generators do |gen|
gen.test_framework :rspec,
fixtures: false,