lib/volt/server/rack/component_code.rb in volt-0.9.4 vs lib/volt/server/rack/component_code.rb in volt-0.9.5.pre1

- old
+ new

@@ -26,15 +26,9 @@ code end def generate_config_code # Setup Volt.config on the client - code = "\nVolt.setup_client_config(#{Volt.config.public.to_h.inspect})\n" - - # Include the root initializers - code << "require_tree '#{Volt.root}/config/initializers'\n" - code << "require_tree '#{Volt.root}/config/initializers/client'\n" - - code + "\nVolt.setup_client_config(#{Volt.config.public.to_h.inspect})\n" end end end