rails/init.rb in simple-navigation-2.7.3 vs rails/init.rb in simple-navigation-3.0.0.beta1
- old
+ new
@@ -1,5 +2 @@
-if Rails::VERSION::MAJOR == 3
- SimpleNavigation::Initializer::Rails3.run
-else
- SimpleNavigation::Initializer::Rails2.run
-end
\ No newline at end of file
+SimpleNavigation.register