method
new
v3.0.0 -
Show latest stable
- Class:
ActionDispatch::Routing::DeprecatedMapper
new(set)public
No documentation available.
# File actionpack/lib/action_dispatch/routing/deprecated_mapper.rb, line 33
def initialize(set) #:nodoc:
ActiveSupport::Deprecation.warn "You are using the old router DSL which will be removed in Rails 3.1. " <<
"Please check how to update your routes file at: http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/"
@set = set
end