File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
railties/lib/rails/commands/app Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -24,22 +24,26 @@ def perform
24
24
25
25
desc "configs" , "Update config files in the application config/ directory" , hide : true
26
26
def configs
27
+ require_application!
27
28
app_generator . create_boot_file
28
29
app_generator . update_config_files
29
30
end
30
31
31
32
desc "bin" , "Add or update executables in the application bin/ directory" , hide : true
32
33
def bin
34
+ require_application!
33
35
app_generator . update_bin_files
34
36
end
35
37
36
38
desc "public_directory" , "Add or update files in the application public/ directory" , hide : true
37
39
def public_directory
40
+ require_application!
38
41
app_generator . create_public_files
39
42
end
40
43
41
44
desc "active_storage" , "Run the active_storage:update command" , hide : true
42
45
def active_storage
46
+ require_application!
43
47
app_generator . update_active_storage
44
48
end
45
49
You can’t perform that action at this time.
0 commit comments