From f88c81b54a919ee03be0a0514e9a435b7ac283d6 Mon Sep 17 00:00:00 2001
From: Kyle Drake
Date: Mon, 12 Jan 2015 09:43:09 -0800
Subject: [PATCH] fix for mount info without login
---
views/site_files/mount_info.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/views/site_files/mount_info.erb b/views/site_files/mount_info.erb
index ed1a10b8..d3a84a4a 100644
--- a/views/site_files/mount_info.erb
+++ b/views/site_files/mount_info.erb
@@ -13,7 +13,7 @@
Neocities now supports WebDAV, which allows you to mount your Neocities share on your computer. Now you can access and change your files on your own computer's file manager!
- <% if !current_site.supporter? %>
+ <% if current_site.nil? || !current_site.supporter? %>
This feature requires a supporter account. Click here to become a supporter.