aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/tasks/routes.rake
blob: 21ce900a8cd3408748411b9aa3e92702e5e44b70 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                                                                              
# frozen_string_literal: true

require "rails/command"
require "active_support/deprecation"

task routes: :environment do
  ActiveSupport::Deprecation.warn("Using `bin/rake routes` is deprecated and will be removed in Rails 6.1. Use `bin/rails routes` instead.\n")
  Rails::Command.invoke "routes"
end