mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
fix bug for missing site
This commit is contained in:
parent
81ae359ec0
commit
1e59bab1eb
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if events.empty? %>
|
<% if events.empty? %>
|
||||||
<% if current_site && site.owned_by?(parent_site) %>
|
<% if current_site && defined?(site) && site.owned_by?(parent_site) %>
|
||||||
<p>
|
<p>
|
||||||
No feed news yet, you should <a href="/dashboard">update your site</a>!
|
No feed news yet, you should <a href="/dashboard">update your site</a>!
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue