Skip to content

Commit efd6c0a

Browse files
committed
pr updates
1 parent 7deeaad commit efd6c0a

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

config/application.rb

+11
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,16 @@ class Application < Rails::Application
1818
#
1919
# config.time_zone = "Central Time (US & Canada)"
2020
# config.eager_load_paths << Rails.root.join("extras")
21+
config.generators do |g|
22+
g.test_framework nil
23+
g.factory_bot false
24+
g.scaffold_stylesheet false
25+
g.stylesheets false
26+
g.javascripts false
27+
g.helper false
28+
end
29+
30+
config.action_controller.default_protect_from_forgery = true
31+
config.generators.system_tests = nil
2132
end
2233
end

config/initializers/appdev_support.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
AppdevSupport.config do |config|
2-
config.action_dispatch = true
3-
config.active_record = true
4-
config.pryrc = :minimal
2+
# config.action_dispatch = true
3+
# config.active_record = true
4+
# config.pryrc = :minimal
55
end
66

77
AppdevSupport.init

0 commit comments

Comments
 (0)