lib/nyauth/rails.rb in nyauth-0.2.7 vs lib/nyauth/rails.rb in nyauth-0.2.8

- old
+ new

@@ -1,12 +1,6 @@ require 'nyauth/route' module ActionDispatch::Routing class Mapper - include Nyauth::Route - - def initialize_with_nyauth(*args) - initialize_without_nyauth(*args) - nyauth_concerns - end - alias_method_chain :initialize, :nyauth + prepend Nyauth::Route end end