diff --git a/app/site_files.rb b/app/site_files.rb index 1e94fc43..ef0b8bb2 100644 --- a/app/site_files.rb +++ b/app/site_files.rb @@ -186,7 +186,7 @@ post '/site_files/rename' do redirect "/dashboard#{dir_query}" end -get '/site_files/:username.zip' do |username| +get '/site_files/download' do require_login if !current_site.dl_queued_at.nil? && current_site.dl_queued_at > 1.hour.ago diff --git a/views/dashboard.erb b/views/dashboard.erb index 6d4b8a2e..068d1abb 100644 --- a/views/dashboard.erb +++ b/views/dashboard.erb @@ -218,7 +218,7 @@ <% if !current_site.plan_feature(:no_file_restrictions) %> Allowed file types | <% end %> - Download entire site | + Download entire site | <% unless is_education? %> Mount your site as a drive on your computer <% end %>