class ActionDispatch::Routing::Mapper

Public Instance Methods

draw(routes_name) click to toggle source
# File lib/rails_routes_drawer.rb, line 2
def draw(routes_name)
  instance_eval(File.read(Rails.root.join("config/routes/#{routes_name}.rb")))
end