lib/spinebox/routes.rb in spinebox-0.0.1 vs lib/spinebox/routes.rb in spinebox-0.0.2

- old
+ new

@@ -23,19 +23,17 @@ class << self # Returns a rack builder app with the drawn routes def app Routes.app || begin - Routes.reset! - Spinebox.load_config! - Spinebox.load_routes! + Spinebox.boot! Routes.app end end # Load the routes def load_routes!(routes = "./config/routes.rb") - require routes + load routes end end end \ No newline at end of file