lib/hyperloop/router/hash.rb in hyper-router-4.0.0 vs lib/hyperloop/router/hash.rb in hyper-router-4.0.1
- old
+ new
@@ -1,11 +1,12 @@
module Hyperloop
class Router
- module Browser
+ module Hash
def self.included(base)
base.extend(HyperRouter::ClassMethods)
- base.extend(ClassMethods)
-
+ base.history(:hash)
+
+ base.include(HyperRouter::InstanceMethods)
base.include(HyperRouter::ComponentMethods)
end
end
end
end