Sha256: 300c1606fce33a6c89fa7a6e71a880c74695036b69f1a4cebc1c27e928593e8c
Contents?: true
Size: 717 Bytes
Versions: 4
Compression:
Stored size: 717 Bytes
Contents
require "fastimage" require "phlex-rails" require "turbo-rails" module RailsDevtools class Engine < ::Rails::Engine isolate_namespace RailsDevtools # rubocop:disable Layout/LineLength initializer "rails_devtools.environment_check" do unless Rails.env.local? raise "Rails Devtools can only be used in your local environment. Please make sure that it is not included in production environment in your gemfile." end end # rubocop:enable Layout/LineLength # Add views to autoload paths for Phlex config.autoload_paths << "#{root}/app/views" config.autoload_paths << "#{root}/app/views/layouts" config.autoload_paths << "#{root}/app/views/components" end end
Version data entries
4 entries across 4 versions & 1 rubygems