lib/devise/rails/routes.rb in devise-1.1.pre vs lib/devise/rails/routes.rb in devise-1.1.pre2
- old
+ new
@@ -1,9 +1,8 @@
module ActionDispatch::Routing
class RouteSet #:nodoc:
# Ensure Devise modules are included only after loading routes, because we
- # need devise_for mappings already declared to create magic filters and
- # helpers.
+ # need devise_for mappings already declared to create filters and helpers.
def finalize_with_devise!
finalize_without_devise!
return if Devise.mappings.empty?
ActionController::Base.send :include, Devise::Controllers::Helpers
\ No newline at end of file