mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
14 lines
265 B
Ruby
14 lines
265 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "rails/dev_caching"
|
|
|
|
module Rails
|
|
module Command
|
|
class DevCommand < Base # :nodoc:
|
|
desc "Toggle development mode caching on/off"
|
|
def cache
|
|
Rails::DevCaching.enable_by_file
|
|
end
|
|
end
|
|
end
|
|
end
|