module RoutesLazyRoutes::Command::RoutesCommand
Public Instance Methods
require_environment!()
click to toggle source
A monkey-patch that eager_loads the routes right before running the `rails routes` command.
Calls superclass method
# File lib/routes_lazy_routes/command/routes_command.rb, line 7 def require_environment! super RoutesLazyRoutes.eager_load! end