Suggest running discourse not script/discourse (#5089)
Having `discourse restore` offer copy/paste of backups is awesome, but doesn't work (rails won't load) if you call script/discourse.
This commit is contained in:
parent
fd2cd63b08
commit
657e5a8633
|
@ -91,7 +91,7 @@ class DiscourseCLI < Thor
|
|||
puts "You must provide a filename to restore. Did you mean one of the following?\n\n"
|
||||
|
||||
Dir["public/backups/default/*"].each do |f|
|
||||
puts "script/discourse restore #{File.basename(f)}"
|
||||
puts "discourse restore #{File.basename(f)}"
|
||||
end
|
||||
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue